Code: Select all
a != "aaa"
Code: Select all
b != "bbb"
Code: Select all
a := "111"
b := "222"
if (a != "aaa" and b != "bbb")
MsgBox, Yes
Code: Select all
; a := "111" ; Commented line
b := "222"
if (a != "aaa" and b != "bbb")
MsgBox, Yes ; Now I don't want this message box to be appeared, but it is till shown, despite the fact that var a is now undefined
Code: Select all
; a := "111"
b := "222"
if ((a and b) and (a != "aaa" and b != "bbb"))
MsgBox, Yes
Code: Select all
; a := "111"
b := "222"
IfAllVarsDefined
{
if ((a and b) and (a != "aaa" and b != "bbb"))
MsgBox, Yes ; This message box will not be shown now. Ant that is good.
}