Try OpenEdge Now
skip to main content
ABL Essentials
Procedure Blocks and Data Access : Blocks and block properties

Blocks and block properties

You saw several different kinds of blocks in the example procedures from the first two chapters. To review them:
*Every procedure itself constitutes a block, even just the simplest RUN statement executed from an editor window.
*Every call to another procedure, whether internal or external, starts another block. An external procedure can contain one or more internal procedures, each of which forms its own block.
*ABL statements such as FOR EACH and DO define the start of a new block.
*A trigger is a block of its own.