Hi All,
I'm trying to assure that all my AutoIt programs have their variables declared. Adding the line
Opt("MustDeclareVars", 2)
at the start of each program accomplishes this, but I'd like to add it to my user properties file to eliminate this step. I've tried opening that file from within SciTE (the file is empty), adding that line, and saving it. However the program:
$var = 1
continues to compile without any errors/warnings. I also tried adding the line autoitsetoptions("mustdeclarevars",2), but was met with the same result. Can someone assist? Perhaps I'm using incorrect syntax, or not pointing to the proper user properties file.
Thanks in advance.