XL Fortran for AIX 8.1
Language Reference
Test whether a string is lexically less 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
- 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 STRING_A precedes STRING_B in the ASCII collating
sequence; otherwise, the result is false. Note that the result is
false if both STRING_A and STRING_B are of zero length.
Examples
LLT ('ONE', 'TWO') has the value
.TRUE..
Specific Name
| Argument Type
| Result Type
| Pass As Arg?
|
LLT
| default character
| default logical
| yes (1)
|
Notes:
- IBM Extension: the ability to pass the name as an argument.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]