Jump to content

Recommended Posts

Posted (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 by mpcluever
  • Developers
Posted

  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.
  :)

Posted

  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()?

:graduated:

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...