Strict Compile Mode

Bob Sneidar bobs at twft.com
Tue Oct 9 12:51:17 EDT 2012


On Oct 9, 2012, at 9:44 AM, Richard Gaskin wrote:

> Peter Haworth wrote:
> > Still don't understand what "Variable Preservation" was supposed to do
> > though.  It sounds like a different thing than "explicit variables" or
> > "variable checking".
> 
> Script-local variables (those declared as local outside of a handler) are the only ones affected by that setting.
> 
> By default, the engine will clear the values of script-local variables during compilation, but LiveCode being "live code", sometimes it can be helpful to preserve those values even while you're editing.
> 
> The Variable Preservation option gives you control over whether than happens.
> 
> --
> Richard Gaskin

OH! Kind of like a local global?

Bob





More information about the use-livecode mailing list