Test whether a string is lexically greater than or equal to another string,
based on the ASCII collating sequence.
Class
Elemental function
Argument type and attributes
STRING_A
must be of type default character.
STRING_B
must be of type default character.
Result type and attributes
Default logical.
Result value
If the strings are of unequal length, the comparison is made as if the
shorter string were extended on the right with blanks to the length of the
longer string.
If either string contains a character not in the ASCII character set,
the result is undefined.
The result is true if the strings are equal or if STRING_A follows STRING_B
in the ASCII collating sequence; otherwise, the result is false. Note that
the result is true if both STRING_A and STRING_B are of zero length.
Examples
LGE ('ONE', 'TWO') has the value .FALSE..
Specific Name
Argument Type
Result Type
Pass As Arg?
LGE
default character
default logical
yes 1
Notes:
IBM Extension: the ability to pass the name as an argument.