When you define the global, if you go back and redefine it you dump the old X and make a new one which you set to 0. So yes you get 1,1,1,1,1
Err, no you dont, Please run the code. (Or read what I posted)
If its a Global it isnt redefined, if its a local it is