Thanks Jerry. With my poor vision I can see how I've missed "Strict Compilation 
Mode"; why couldn't they have used "explicitVars"? (sigh!) Being under the 
impression that the default setting was false, I had reset all of the 
preferences to default values, figuring that would work. I don't recall that it 
did or didn't, but maybe I didn't save after doing so. (smile)

Joe Wilkins

On Nov 22, 2012, at 1:00 PM, Jerry Jensen wrote:

> On Nov 22, 2012, at 12:39 PM, Joe Lewis Wilkins <pepe...@cox.net> wrote:
> 
>> True. I had noted that as well. That was one of the problems I had with a 
>> script after I had earlier messed it up with some botched commenting out. 
>> However, I still haven't figured out how to set explicitVars to false.
> 
> In LiveCode Preferences, choose "Script Editor" from the list on the left. 
> Then un-check "Strict Compilation Mode".
> 
> I like it strict, except when dealing with somebody else's code that doesn't.
> 
> It is a strange beast. In strict mode,
> 
> This gives an error:
> on foo
>  put it
> end foo
> 
> This also errs:
> on foo
>  put 2 into it
>  put it
> end foo
> 
> BUT, this is OK:
> on foo
>  get 2
>  put it
> end foo
> 
> I never use it except when something else requires me to, like the return 
> from "ask", etc.
> 
> .Jerry
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to