PreviousNextIndex

END statement

Indicates the end of a block started with a CASE, CATCH, CLASS, CONSTRUCTOR, DESTRUCTOR, DO, FINALLY, FOR, FUNCTION, INTERFACE, METHOD, PROCEDURE, or REPEAT statement or the end of an EDITING phrase, Trigger phrase, or the implementation of a GET or SET property accessor.

Syntax

END [ CASE | CATCH | CLASS | CONSTRUCTOR | DESTRUCTOR | FINALLY | 
       FUNCTION | GET | INTERFACE | METHOD | PROCEDURE | SET | TRIGGERS ] 

[ CASE | CATCH | CLASS | CONSTRUCTOR | DESTRUCTOR | FINALLY | FUNCTION |
GET | INTERFACE | METHOD | PROCEDURE | SET | TRIGGERS ]
Example

This procedure contains two blocks, each ending with the END statement:

r-end.p
FOR EACH Customer NO-LOCK: 
  DISPLAY Customer.CustNnum Customer.Name Customer.Phone. 
  FOR EACH Order OF Customer NO-LOCK: 
    DISPLAY Order WITH 2 COLUMNS. 
  END. 
END. 

Notes
See also

CASE statement, CATCH statement, CLASS statement, CONSTRUCTOR statement, DEFINE PROPERTY statement, DESTRUCTOR statement, DO statement, EDITING phrase, FINALLY statement, FOR statement, FUNCTION statement, INTERFACE statement, METHOD statement, PROCEDURE statement, REPEAT statement, Trigger phrase


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex