7.4

Table Of Contents
if( ge(&current.line, 50) )
show('Bottom of page')
endif()
Example 2
if(&current.line >= 50)
show('Bottom of page')
endif()
GT (function)
Compares two expressions of any type and returns true if the first is greater than the second, false otherwise. This is the func-
tional equivalent to the > operator.
Syntax
gt( 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 illustrate both ways of comparing two expressions.
Example 1
if( gt(&current.line, 50) )
show('Bottom of page')
endif()
Example 2
if(&current.line > 50)
show('Bottom of page)
endif()
If (function)
Evaluates an expression and returns one of two specified values according to the results of the evaluation.
©2010 Objectif Lune Inc - 554 -