global problems

Mark Wieder mwieder at ahsoftware.net
Mon Aug 1 03:28:27 EDT 2005


Ken-

Of course, I managed to poke around a bit and get this to happen. I
knew there was *something going on*. Here's the real problem - doesn't
have anything to do with loop indices at all:

Global variables are persistent in memory, even when they've been
purged. Once you have declared a global variable, even if you have
deleted the line of code that declared it, you're stuck with it. You
can't change it into a local variable and you can't have another local
variable with the same name, even in a different stack, without
invoking a compiler error about the local variable name shadowing
another.

BZ #3038

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list