Jump to content

Includes with new AutoIt Version


Recommended Posts

I don't think you understand.

d'accord.

The error message is always referring to a variable or custom function. For example. If you compile that script. But take out the include. It will give you an error because it cannot find the function. However, I have resolved it by including all files in the main .au3 file. it would give me that error for each function/variable that was included in the include...

C:\Script Tests\MsgBox\main.au3 (5) : ==> Unknown function name.: 
_IncludeMessageBox() 
^ ERROR
well, it's good you solved the problem. To fully understand if this is a bug or a problem with you script, we would need the whole script source.

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Found out the problem. I had a main script.

Main.au3

In that script I had an #include file...which was a list of all my functions.

Functions.au3

In that script I had an #include file...which handled all my logging.

Log_Functions.au3

All the errors were coming from the Log_functions.au3. To resolve the problem. I had to change the #include from the functions.au3 file to the main.au3 file.

Is there a problem including an include?

The structure of the includes looks like this

Main.au3

Functions.au3

Log_Functions.au3

Do you get me?

It works fine for me with 3 includes which point to a function in include 3

Edited by ChrisL
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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