PreviousNextIndex

EQ or = operator

Returns a TRUE value if two expressions are equal.

Syntax

expression { EQ | = } expression 

expression
Example

This procedure prompts for the initials of a sales rep. The FOR EACH block reads all the order records for that sales rep. The DISPLAY statement displays information from each of the retrieved records.

r-eq.p
PROMPT-FOR Order.SalesRep WITH SIDE-LABELS CENTERED. 
FOR EACH Order NO-LOCK WHERE Order.SalesRep EQ INPUT Order.SalesRep: 
  DISPLAY Order.OrderNum Order.CustNum Order.OrderDate Order.PromiseDate 
    Order.ShipDate 
    WITH CENTERED. 
END. 

Notes

OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex