!() Function - Logical Not
Syntax
!(numexpr{,ERR=lineref})
Description
The !() function inverts the logical meaning of the enclosed numeric expression.
Parameter |
Description |
---|---|
numexpr |
Numeric expression to be inverted. |
ERR=lineref |
Branch to be taken if an error occurs during execution. |
The !() function cannot be the first character on a line. Using "!" as the first character on a line is a quick method for using the SCALL() function.
Example
1010 IF !(SUPERVISOR OR DATAENTRYALLOWED) GOTO SKIPENTRY