@GREATER

Top  Previous  Next

Syntax:

 

@GREATER(<value1>, <value2>)

 

Description:

 

This function compares two string values. If the values are both valid numbers then a numeric comparison is performed, otherwise a string comparison is performed based on ASCII character values. The value 1 (true) is returned if <value1> is greater than <value2>; otherwise the function returns null (false).

 

OK:

 

Unchanged.

 

Example:

 

IF @GREATER(%1,%2)

  INFO Larger value is %1

END

 

See also: