Strict Compile Mode

Richard Gaskin ambassador at fourthworld.com
Tue Oct 9 12:44:20 EDT 2012


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
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list