Best Practices using globals vs. custprops?

Richard Gaskin ambassador at fourthworld.com
Fri Jun 22 14:10:06 EDT 2007


Stephen Barncard wrote:
> Speaking of persistence, has anyone been using the "Variable 
> preservation by default" feature in Preferences-->Script Editor--> 
> that showed up a few version ago?
> 
> How would this be used, and does anybody actually turn this on?
> 
> the tooltip says
> 
> "Preserve script-local variables are declared and literals quoted 
> when applying a script."
> 
> what?

In that context "persistence" only applies to the current session; 
unlike custom props, which are physically stored in the object record, 
the values of script-local vars are lost on quit.

-- 
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list