global problems

Stephen Barncard stephenREVOLUTION at barncard.com
Mon Aug 1 17:00:52 EDT 2005


Now hold on a minute; I did remember a time a version back when I set 
a global when I should have set a local, and the global wouldn't go 
away, I couldn't recreate as a local, even though I used 'delete' 
from the msg box. It insisted on being a global. I had to quite rev 
to continue...

sqb



>On 8/1/05 2:28 AM, "Mark Wieder" <mwieder at ahsoftware.net> wrote:
>
>>  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.
>
>Well, yes, but that's because you didn't explicitly delete it, which you can
>do with:
>
>   delete global <globalName>

>Ken Ray



More information about the use-livecode mailing list