7.5

Table Of Contents
show('Top of page')
endif()
%Same statement, using the < operator
if(&current.line < 50)
show('Top of page')
endif()
NE (function)
Compares two expressions of any type and returns true if they are not equal, false otherwise. This is the functional equivalent
to the <> operator.
Syntax
ne( expression1, expression2 ) Boolean value
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()
©2010 Objectif Lune Inc - 557 -