NOT operator (logical)
- Last Updated: March 15, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Returns TRUE if an expression is false, and FALSE if an expression is true.
Syntax
|
- expression
- A logical expression whose value is logical, that is TRUE/FALSE, YES/NO.
Note: It is
possible for an operand to evaluate to the Unknown value (
?). For a
NOT operation, the result is the Unknown value (?), if
expression evaluates to the Unknown value (?).Example
In
this procedure, if the user enters the number of a Customer that
does not exist, the procedure displays a message that the Customer
does not exist and the user must try again. If the Customer does
exist, the procedure displays the Name and Phone number
of the Customer.
r-not.p
|