beautypg.com

AMT Datasouth PAL User Manual

Page 130

background image

le

124

le

Description

Determine whether the first object is less than or equal to the second object.

Usage

Any1Num Any2Num

le

Bool

Any1Text Any2Text

le

Bool

Any1Num

Integer or fixed-point. First numeric object to compare.

Any2Num

Integer or fixed-point. Second numeric object to compare.

Any1Text

String or name. First text object to compare.

Any2Text

String or name. Second text object to compare.

Bool

Boolean. A value of true indicates the first object does not exceed the second
object. A value of false indicates the second object exceeds the first object.

Comments

In the first variant, the operator determines whether or not the first numeric parameter is less than
or equal to the second numeric parameter. The operator will accept integer and fixed-point objects
for either parameter.

In the second variant, the operator determines whether or not the first text parameter is less than or
equal to the second text parameter. The operator will accept string or name objects for either
parameter. PAL compares strings and names using the standard ASCII character sorting sequence
including case sensitivity. Therefore, the string (Abc) is less than the string (abc).