7.4

Table Of Contents
Example 1
xor(true, false) %Returns true
Example 2
xor(false, true) %Returns true
Example 3
xor(false, false) %Returns false
Example 4
xor(true, true) %Returns false
Comparison Operators and Operator Functions
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
©2010 Objectif Lune Inc - 390 -