Silverfrost Logo About Us | Contact Us
 

LGE

Platform

x64, Win32, .NET

Purpose

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

Class

Elemental function.

Syntax

LOGICAL FUNCTION LGE(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 the strings are equal or if STRING_A follows STRING_B in the ASCII collating sequence; otherwise, the result is false.

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

 

 

Copyright © 1999-2017 Silverfrost Limited