In if statements it exits on first "false" when condititions ANDed, but it does not exit on first "true" when condiditons ORed. Is it a design feature? As I know it is different some other languages. Please look at the examples below.
Code: Select all
Procedure test()
MessageRequester("test","test")
ProcedureReturn #True
EndProcedure
a = 0
If a = 1 And test() ; test() won't be called, and it is good..
MessageRequester("ok","ok")
EndIf
Code: Select all
Procedure test()
MessageRequester("test","test")
ProcedureReturn #True
EndProcedure
a = 1
If a = 1 Or test() ; test() will be called
MessageRequester("ok","ok")
EndIf