7.6

Table Of Contents
Arguments
expression1, expression2
Values of any type. Both expressions must be of the same type.
Code Sample Examples
Examples 1 and 2 show both ways of comparing two expressions.
Example 1
if( ne(&current.line, 1) )
show('Not a new page')
endif()
Example 2
if(&current.line <> 1) %Same statement, using the <> operator
show('Not a new page')
endif()
Not (Boolean operator function)
Negates the specified expression. Not to be confused with the neg function: not is a Boolean operator function, not a math-
ematical one.
Syntax
not( expression1 ) Boolean value
Argument
expression1
Boolean value.
Code Sample Example
This example shows how NOT can be used in place of operators.
Example
define(&x,integer,1) %Define loop variable
for(&x,1,1,10) %Set loop
©2010 Objectif Lune Inc - 556 -