is there a way to change a local variable to global
or am i screwed
Offline
Not specifically no, but depending on your situation, it should be quite easy to delete the local variable, and remake it as a global, then replace the reporters.
Also, does anyone know if naming a global the same as a local, then deleting the local works?
Offline
zammer990 wrote:
Not specifically no, but depending on your situation, it should be quite easy to delete the local variable, and remake it as a global, then replace the reporters.
Also, does anyone know if naming a global the same as a local, then deleting the local works?
Well, first of all, that isn't possible because, as Scratch says, "That variable name is already in use.", though there is a nice, simple workaround. All you have to do is delete the local variable from the variable pane, save your project, and viola! It's a global variable!
With regards,
ErnieParke
Offline