Logical numeric expressions

Logical numeric expressions are simply the comparison of two numeric values using one of the following relational operators:

Operator Operation
=  equals
<  less than
<=  less than or equal to
>  greater than
>=  greater than or equal to
<>  not equal

The logical numeric expressions are always evaluated after evaluating numerical expressions and before evaluating logical relations.

The numerical values being compared can be literal numeric values such as 8 or numeric variables of type byte, integer, float, or double, or an expression that evaluates to a numeric value, or an indexed numeric parameter.

For example, if an integer variable called VALUE is set to 3 then the statement:

IF (VALUE * 3 > 8) PRINT "SUCCESS"

would result in the condition evaluating to TRUE and the print statement would be executed.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.