Progress
Language Reference


LE or < = Operator

Interfaces
OS
SpeedScript
All
All
Yes

Returns a TRUE value if the first of two expressions is less than or equal to the second.

If characters are being compared, the character values are used to index into the current collation table so that the sort value of the characters are used in the comparison.

SYNTAX

expression { LE | <= } expression 

expression

A constant, field name, variable name, or expression. The expressions on either side of the LE or < = must be of the same data type, although one can be integer and the other decimal.

EXAMPLE

This procedure lists all the items with zero or negative on-hand quantities.

r-le.p
FOR EACH item WHERE on-hand <= 0:
    DISPLAY item.item-num item-name on-hand.
END. 

NOTES


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095