7.5

Table Of Contents
&price := 18.53
&day[4] := 'Friday'
&last:=True
&mustard := [0,20,90,16]
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()
<> (operator)
See "NE (function)" (page 557)
Conversion Operator Functions
©2010 Objectif Lune Inc - 394 -