okay it works fine with debug on.
But with debug off... I don't get how it can change my variables. Here is a simpler example
outputs:
But with debug off... I don't get how it can change my variables. Here is a simpler example
Local r=AutoIT_Init() Delay 1000 WinExec("Notepad.exe",1) 'runs notepad AUTOIT_WinWaitActive("Untitled","",1000) 'Wait for Notepad window for 1000ms Local go Print "go="+go AUTOIT_Send("a") Print "go="+go End
outputs:
Building untitled3 Compiling:untitled3.bmx flat assembler version 1.64 3 passes, 4866 bytes. Linking:untitled3.exe Executing:untitled3.exe go=0 go=10688816 Process complete