PreviousNextIndex

PAUSE statement

Suspends processing indefinitely, or for a specified number of seconds, or until the user presses any key.

Note: Does not apply to SpeedScript programming.
Syntax

PAUSE 
  [ n ] 
  [ BEFORE-HIDE ] 
  [ MESSAGE message | NO-MESSAGE ]  
  [ IN WINDOW window ] 

n
BEFORE-HIDE
MESSAGE message
NO-MESSAGE
IN WINDOW window
Example

The FOR EACH block in this procedure reads each of the records from the Customer table and displays information from each record. Because the DISPLAY uses a down frame (multiple records displayed in the frame), the AVM usually fills the window with as many records as possible and then displays the message: “Press spacebar to continue”. The PAUSE 2 BEFORE-HIDE message tells the AVM to pause only two seconds before hiding the frame and displaying additional records.

r-pause.p
PAUSE 2 BEFORE-HIDE MESSAGE "Pausing 2 seconds". 
FOR EACH Customer NO-LOCK WITH 13 DOWN: 
  DISPLAY Customer.CustNum Customer.Name. 
END. 

Notes

OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex