mpcluever Posted December 6, 2010 Posted December 6, 2010 (edited) For some reason, the SyntaxCheck Prod tool in SciTE isn't picking up variables that haven't been declared. Is it possible to list out all the $... variables that have been used in the script? When I start typipng $... it lists the all in a dropdown, is it possible to get at that list? Similar to "List Functions" Edited December 6, 2010 by mpcluever
PsaltyDS Posted December 6, 2010 Posted December 6, 2010 I doubt the syntax checker is missing undeclared variables. Are you sure they aren't declared inside one of your #include files where you don't see them? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Bert Posted December 6, 2010 Posted December 6, 2010 That is a Jos question. He is the one who works on the AutoIt lua with Valik. The Vollatran project My blog: http://www.vollysinterestingshit.com/
mpcluever Posted December 6, 2010 Author Posted December 6, 2010 The syntax checker is not identifying any issues, however the script fails citing an undeclared variable.
kaotkbliss Posted December 6, 2010 Posted December 6, 2010 maybe somehow your script loops in a way that the variable tries to be used before the value is set? 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
Developers Jos Posted December 6, 2010 Developers Posted December 6, 2010 On 12/6/2010 at 6:51 PM, 'mpcluever said: For some reason, the SyntaxCheck Prod tool in SciTE isn't picking up variables that haven't been declared. Is it possible to list out all the $... variables that have been used in the script? When I start typipng $... it lists the all in a dropdown, is it possible to get at that list?Similar to "List Functions"Tidy can generate a nice XREF report with all used Variables and lines they are used in. Show the example where au3check doesn't detect a variable not defined, but one thing to remember is that au3check doesn't really know the sequence of funcs/code executed so it could assume a variable is defined while it's not really yet.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
PsaltyDS Posted December 6, 2010 Posted December 6, 2010 On 12/6/2010 at 8:28 PM, 'mpcluever said: The syntax checker is not identifying any issues, however the script fails citing an undeclared variable.Post the shortest demo script you can that reproduces this symptom for you. Any chance it's happening with Execute(), or Eval()? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now