Constant keyword for logical true = -1.
True
Contains the value for logical true.
Auto a!, i%
OpenW # 1
i% = 20
If i%
a! = True
Print "i% is not equal to 0; a!="; a!
EndIf
i% = 0
If !i%
a! = False
Print "i% is equal to 0; a!="; a!
EndIf
Prints:
i% is not equal to 0; a!=-1
i% is equal to 0; a!=0
{Created by Sjouke Hamstra; Last updated: 25/10/2014 by James Gaite}