# POSSIBLY SPAM #::RE: var chk'r ?? Hold the phone
stephenrevolution at barncard.com
Wed Mar 23 01:50:34 CST 2005
AHA! This solves something that's been driving me crazy for weeks.
I would do a quick script for something and find that I'd always get
errors if I didn't declare all variables, including locals!!! The
docs say you don't *have* to declare locals....
That 'variable checking' thing was enabled by default....
Thanks, Mr. X
>Sorry for the inprecise terms...
>If you go to the script editor, pull the script menu, you will find
>"Variable Checking" which enforces a local "explicitvariables"
>for that script. IOWs, it checks your variables and messages or
>This forces you to declare all variables but the big advantage is that
>it will catch any typos in variables which are too easy to make...
>Note that there is a similar feature in the preferences stack but for
>behavior across all your scripts.
More information about the use-livecode