Table of Contents

Not function

Description

Returns the logical complement of an expression.

Syntax

result = Not(expression)

Parameters

The Not function has the following parameters.

ParameterDescription
expressionMay designate any data. The result of Not is the logical inverse of the specified expression. It generates a value of 1 (one) if the expression evaluates to false, or it generates a value of 0 (zero) if the expression evaluates to true.

Example

* Check for an unassigned variable (for example, an argument).

if not(Assigned(Var)) then
       Var = ""
end