Previous Topic: Reserved wordNext Topic: Subprogram


Statements

Simple directives in the PDL language, like SET, MOVE, and TRANSMIT, or constructs, such as the IF and FOR constructs. For purposes of syntax notation, the term statement also includes the absence of a PDL directive in a place where a statement is an optional part of a construct. For example, the following syntax statements could be satisfied by the IF….ELSEIF constructs:

IF condition
   statement‑1
ELSE
   statement‑2
ENDIF

IF MORE_RECORDS
ELSE
   DO ERROR_EMPTY
ENDIF

In this case, statement‑1 is not specified and statement‑2 is DO ERROR_EMPTY.