LGT

Platform

x64, Win32, .NET

Purpose

To test if a string is lexically greater than another string, using the ASCII collating sequence.

Class

Elemental function.

Syntax

LOGICAL FUNCTION LGT(STRING_A, STRING_B)
CHARACTER (LEN=*) STRING_A, STRING_B

Description

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.

Return value

The result is true if STRING_A follows STRING_B in the ASCII collating sequence; otherwise, the result is false.

The result is false if both strings are of zero length.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited