I intentionally violate this rule to show the weird behavior caused by such a violation.
Code: Select all
; Expected: Regardless of Var1 is False, F12 (when pressed) will produce "Foo"
; Actual: You will see "Foo" at the first launch. There is no need to press F12 key to see it.
#SingleInstance Force
Var1 := False
Var2 := True
If (Var1)
#If Var2
F12:: MsgBox Foo