Try OpenEdge Now
skip to main content
Guide for New Developers
An overview of ABL : Understanding ABL Syntax : REPEAT, FOR, and DO Blocks
 

REPEAT, FOR, and DO Blocks

REPEAT, FOR, and DO blocks consist of a block header statement (REPEAT, FOR, or DO) followed by zero or more statements terminated by an END statement. Each of these blocks can contain any other type of block, except a procedure and trigger block. REPEAT, FOR, and DO blocks execute wherever they appear in a procedure or trigger block.