Unpopularity of global variables - why?
gandalf at doctorTimothyMiller.com
Fri Oct 12 22:56:20 EDT 2012
On Oct 12, 2012, at 7:13 PM, J. Landman Gay wrote:
> On 10/12/12 6:50 PM, Timothy Miller wrote:
>> I consistently put empty into all unused globals when a script starts.
> Unlike HyperCard, in LiveCode you can actually delete them entirely:
> delete global gMyGlobal
Busted! HyperCard retread, obviously.
I could hunt down all those "put empty into..." scripts and fix them, but probably more trouble than it's worth. It would just free up a little bit of RAM.
More information about the Use-livecode