NOT operator NOT operator Syntax ... NOT value ... Function Perform logical negation of a value. Usage Considerations The word "not" cannot be used as a program name or variable name. Details The NOT operator operates on a single value, converting it from logically true to false, and vice versa. If the single value is zero, a -1.0 (TRUE) is returned. Otherwise, a 0.0 (FALSE) value is returned. Refer to the eV+ Language User's Guide for the order in which operators are evaluated within expressions. Examples IF NOT initialized THEN ;If the variable "initialized" has a CALL appl.setup() ;FALSE value, the instructions in the initialized = TRUE ;IF structure will be executed.
END eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 366