8.18/6/2018

GE (function)

Compares two expressions of any type and returns true if the first is greater than or equal to the second, false otherwise. This is the functional equivalent to the >= operator.

Syntax

ge( expression1, expression2 ) Boolean value

Arguments

expression1, expression2

Values of any type. Both expressions must be of the same type.

Code Sample Examples

Example 1 and Example 2 show both ways of comparing two expressions. Example 2 illustrates the >= operator.

Example 1


if( ge(&current.line, 50) )
  show('Bottom of page')
endif()

Example 2


if(&current.line >= 50)
  show('Bottom of page')
endif()