7.5

Table Of Contents
LE (function)
Compares two expressions of any type and returns true if the first is less than or equal to the second, false otherwise. This is
the functional equivalent to the <= operator.
Syntax
le( expression1, expression2 ) Boolean value
Arguments
expression1, expression2
Values of any type. Both expressions must be of the same type.
Code Sample Example
This example shows both ways of comparing two expressions.
Example
if(le(&current.line, 15) )
show('Top of page')
endif()
%Same statement, using the <= operator
if(&current.line <= 50)
show('Top of page')
endif()
LT (function)
Compares two expressions of any type and returns true if the first is less than the second, false otherwise. This is the func-
tional equivalent to the < operator.
Syntax
lt( expression1, expression2 ) Boolean value
Arguments
expression1, expression2
Values of any type. Both expressions must be of the same type.
Code Sample Example
This example shows both ways of comparing two expressions.
Example
if(lt(&current.line, 15))
©2010 Objectif Lune Inc - 556 -