Code: Select all
#Requires AutoHotkey v2.0-a132-8673ba2f
var := 123
f() {
MsgBox('set?' IsSet(var)) ; loadtime: syntax error, this is unexpected
; MsgBox(IsSet(var) 'set?') ; this works fine
; MsgBox('set?' . IsSet(var)) ; this works fine
; MsgBox('set?' IsSetRef(&var)) ; this works fine
}
f()