Jump to content

Recommended Posts

Posted

Consider script foo.au3:

   Doit()

   Func DoIt()

      RunWait('"'&@AutoItExe&'" "'&@ScriptDir&'bar.au3"')  

   EndFunc

and script bar.au3:

   DoIt()

   Func DoIt()

      some lines of code here

   EndFunc

Scripts like this didn't run properly. When I changed DoIt in bar.au3 to DoIt2, the scripts ran correctly. I think this was the only change I made.

So was bar.au3 seeing foo's DoIt function rather than its own?

Spoiler

CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard

 

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