int e l 5.2.1 UNARY OPERATORS -- GENERAL PURPOSE ABS([expr]) Returns the ABSOLUTE VALUE of the expression. EXAMPLES: PRINT ABS(5) PRINT ABS(-5) 5 5 NOT([expr]) Returns a 16 bit one's complement of the expression. The expression must be a valid integer (i.e. between 0 and 65535 (0FFFFH) inclusive). Non-integers will be truncated, not rounded. EXAMPLES: PRINT NOT(65000) PRINT NOT(0) 535 65535 INT([expr]) Returns the integer portion of the expression. EXAMPLES: PRINT INT(3.7) PRINT INT(100.876) 3 100 SGN([expr]) Will return a value of + 1 if the argument is greater than zero, zero if the argument is equal to zero, and -1 if the argument is less than zero. EXAMPLES:
PRINT SGN(52) PRINT SGN(0) PRINT SGN(-8) 1 0 -1 - 76 -