Code: Select all
Test = 4711
If Test = #True
Debug "#True means <>0, it works"
Else
Debug "#True only means 1, it doesn't work"
EndIf
If Test
Debug "without comparison, it works"
Else
Debug "whoo, that's impossible"
EndIf
but perhaps it is desirable to let the compiler change some direct
Code: Select all
If (EXPR) = #True
Code: Select all
If Not (EXPR) = #False
... or if it just is to be made clear that ir's better to use
Code: Select all
If (EXPR)
Code: Select all
If Not (EXPR)