LGT— Lexical greater than
Determines whether one string is lexically greater than another string, where the two strings are interpreted as containing ASCII character codes. If the String A and String B are not the same length, the shorter is compared as if spaces were appended to it to form a value that has the same length as the longer.
In general, the lexical comparison intrinsics
LLT differ from the corresponding intrinsic
that the latter use the processor’s character ordering (which is not
ASCII on some targets), whereas the former always use the ASCII
Fortran 77 and later
RESULT = LGT(STRING_A, STRING_B)
|STRING_A||Shall be of default |
|STRING_B||Shall be of default |
STRING_A > STRING_B, and
otherwise, based on the ASCII ordering.
|Fortran 77 and later|
LGE, LLE, LLT