
dicka
USA
Asked
— Edited
If I define $Day and $Hour in your example:
$Day = 2
$Hour = 3
If ($Day = 2 AND $Hour = 3)
Print("Hello")
EndIf
I get an error message: Invalid token in expression [AND]
Am I doing something wrong?
Code:
I should kick myself for not trying small "and". (I was actually using "And" first and then tried your example.)
Error on line 23: Invalid token in expression: [OR]