Hi Tim, Variable checking is one of my favorite features.
It checks that: - all variables are declared -- local whatever -- if you use "it" without a previous "Get" however -- it will flag an error (as if i couldn't get something -- another way (do "get the time") - and that won't be -- noticed. Just use a <get zero> handler before. - All messages sent must be en-quoted if literals. -- local x -- send "mouseup" to btn x -- Mouseup must be enquoted. It's extremelly useful after you've written a long script and you need to debug any errors, it finds any mispelled variables, and best of all, in most cases, it takes less time to be compliant with variablechecking than it takes to find bugs. Alas, one problem: if you hover the mouse over a script that is not compliant (and you have a mouseenter script), there may be triggers sent to the revErrorDisplay blocking execution... And this can go unoticed if you're not used to it... cheers Xavier http://monsieurx.com > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Timothy Miller > Sent: Monday, June 20, 2005 06:49 > To: How to use Revolution > Subject: variable checking? > > I'm at home on my dialup connection, so I haven't had a > chance to read Rev List messages for the past seven days or > so. No doubt a few people deserve a thank you for replies > posted during that time. I'll get to that tomorrow. > > In the interim -- a quick question. When I have a script > open, I see a menu item "script:variable checking" I can't > find it in the onboard documentation. No doubt it's useful at > times. What does it do? > > I do own Dan's book, Vol 1. Aside from that and the list, are > there other good places to look when I get stumped by > something easy like this? > > Thanks in advance, > > > Tim > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
