BOOL$ function
Purpose: Depending on the value of the integer expression being evaluated, BOOL$ returns the string "True" or "False".
Syntax: RetStr$ = BOOL$(Integer_Expression) Parameters:
Return Value:
|
Example:
DIMRetStr$DIMint1%, int2% int1%=1int2%=2RetStr$=BOOL$(int1% <> int2%)' RetStr$ prints "True".int1%=0RetStr$=BOOL$(int1%)' RetStr$ prints "False".