VALUE1
>
VALUE2

The > operator compares two values to see if the first value is greater than the second value.


Parameters

This operator has two parameters:

value1 – The first numeric or text value.

value2 – The second numeric or text value.


Description

The > operator compares two values to see if the first is larger than the second. The two values can be either text or numeric, but they must both be the same type. The result is true if the first value is greater then the second, and false if the first is less than or equal to the second. Here are some examples:

73 > 34 ☞ true
34 > 45 ☞ false
56 > 56 ☞ false
"xyz" > "abc" ☞ true
"abc" > "xyz" ☞ false
"abc" > "abc" ☞ false
"123" > 123 ☞ error

You can also spell out the operator name, like this:

984 isgreaterthan 747 ☞ true
"xyz" isgreaterthan "abc" ☞ true

Note: The boolean values true and false are actually integer (numeric) values –1 and 0.


Error Messages

Cannot compare text with number. – Both parameters must be the same data type. If one is text and the other is numeric, the result is this error.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but now allows alternate spelling