6.0

Table Of Contents
104
Language Reference
4
GT (function)
Compares two expressions of any type and returns true if the first is greater than the second, false
otherwise. This is the functional 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()
&Height (system variable)
System variable with a scope local to a specific object, group, or page. The system initializes this variable
to the value of the Height property of the object’s, group’s, or page’s Basic Attributes. You can reference and
set this variable in any PlanetPress Talk code you enter in the object, group, or page.
Syntax
&height measure value
If (function)
Evaluates an expression and returns one of two specified values according to the results of the evaluation.
Syntax
if( expression, trueresult, falseresult ) any type