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

sqb

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
references.

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
default
behavior across all your scripts.

cheers
Xavier

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to