This code works:
Global Const $TEST = "Hello World!" Main() Func Main() MsgBox(4096, "Test", $TEST) EndFunc
This code throws a variable undeclared error:
Global Const $TEST = "Hello World!" Func OnAutoItStart() MsgBox(4096, "Test", $TEST) EndFunc
Is it possible that I'm doing something wrong, or is this possibly a bug?




