LGT
— Lexical greater thanIn general, the lexical comparison intrinsics LGE
, LGT
, LLE
, and LLT
differ from the corresponding intrinsic operators .GE.
, .GT.
, .LE.
, and .LT.
, in that the latter use the processor's character ordering (which is not ASCII on some targets), whereas the former always use the ASCII ordering.
RESULT = LGT(STRING_A, STRING_B)
STRING_A | Shall be of default CHARACTER type. |
STRING_B | Shall be of default CHARACTER type. |
.TRUE.
if STRING_A > STRING_B
, and .FALSE.
otherwise, based on the ASCII ordering. Name | Argument | Return type | Standard |
LGT(STRING_A, STRING_B) |
CHARACTER |
LOGICAL |
Fortran 77 and later |
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/LGT.html