Strict Compile Mode

Peter Haworth pete at lcsql.com
Tue Oct 9 14:05:05 EDT 2012


Richard and Jacque,
Thanks for the explanation, I had guessed it was something like that.
 However, I do sometimes still experience script local variables being
wiped out when I edit/Apply changes to the script they are defined in.  It
doesn't happen all the time and I haven't been able to tie it down to any
specific circumstances other than it seems to happen when I have made "a
lot of edits".
Pete
lcSQL Software <http://www.lcsql.com>



On Tue, Oct 9, 2012 at 10:22 AM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> It's largely historical now. In the olden days, editing and recompiling a
> script would wipe the values of script local variables and set them to
> empty. That meant you had to add lines of code to re-initialize them so
> they'd still work after every edit. It not only made us crazy, it made the
> RR team crazy too, so one of the first things they did after RR obtained
> the engine was to change that. The option to go back to the old behavior is
> still there but I'd be surprised if anyone actually prefers to use it.



More information about the Use-livecode mailing list