XL Fortran for AIX 8.1

Language Reference


LGT(STRING_A, STRING_B)

Test whether a string is lexically greater than another string, based on the ASCII collating sequence.

STRING_A
must be of type default character.

STRING_B
must be of type default character.

Class

Elemental function

Result Type and Attributes

Default logical.

Result Value

Examples

LGT ('ONE', 'TWO') has the value .FALSE..


Specific Name Argument Type Result Type Pass As Arg?
LGT default character default logical yes (1)

Notes:

  1. IBM Extension: the ability to pass the name as an argument.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]