Jump to content

Recommended Posts

Posted

I am writing a series of Automated tests that are contained in 5-8 different au3 files.

File 1 might include file 2 & 3.

File 2 might include file 4

file 3 might include file 5

File 4 might include file 6

When I attempt to build each one of these files. I get a TON of warnings thrown talking of undefined functions/globals. Usually I can just say continue and it runs fine. It seems as though it has a hard time trying to connect the lines when building. Any solution to this?

Thanks,

Programit

What I'm using AutoIt for: I was hired as QA to write automated tests for our software. So I macro any possible situation/process a user could get themselves into, and then check to see that the outcome is what I expect.
Posted

I am writing a series of Automated tests that are contained in 5-8 different au3 files.

File 1 might include file 2 & 3.

File 2 might include file 4

file 3 might include file 5

File 4 might include file 6

When I attempt to build each one of these files. I get a TON of warnings thrown talking of undefined functions/globals. Usually I can just say continue and it runs fine. It seems as though it has a hard time trying to connect the lines when building. Any solution to this?

Thanks,

Programit

We really can't do anything to help you until you post the code. :P

Posted

I am writing a series of Automated tests that are contained in 5-8 different au3 files.

File 1 might include file 2 & 3.

File 2 might include file 4

file 3 might include file 5

File 4 might include file 6

When I attempt to build each one of these files. I get a TON of warnings thrown talking of undefined functions/globals. Usually I can just say continue and it runs fine. It seems as though it has a hard time trying to connect the lines when building. Any solution to this?

Thanks,

Programit

SciTE will correctly parse all those includes for the variables, but if they are declared CONDITIONALLY or INSIDE FUNCTIONS, you will still get warnings whether they are in include files or not.

:P

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
Posted

SciTE will correctly parse all those includes for the variables, but if they are declared CONDITIONALLY or INSIDE FUNCTIONS, you will still get warnings whether they are in include files or not.

:P

Ok thanks. Not really a HUGE deal, but if I could make my stuff look/run more professionally I would have liked to. Click Continue pas 14 errors doesn't look good.

What I'm using AutoIt for: I was hired as QA to write automated tests for our software. So I macro any possible situation/process a user could get themselves into, and then check to see that the outcome is what I expect.
Posted

Ok thanks. Not really a HUGE deal, but if I could make my stuff look/run more professionally I would have liked to. Click Continue pas 14 errors doesn't look good.

Then don't declare your Global variables inside conditional statements or functions...

:P

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
  • Developers
Posted

Ok thanks. Not really a HUGE deal, but if I could make my stuff look/run more professionally I would have liked to. Click Continue pas 14 errors doesn't look good.

When AU3Check reports errors it means you do have some sort of design issue in your script.

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

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
×
×
  • Create New...