10.14 Statements

Statements control the execution of the report program. Each statement begins with a keyword. The following table shows these keywords along with a brief description of what the statement does.

AT set break on non-file event

BEGIN - END or {-} compound statement

CHECK or WATCH set break on file event

DELETE delete a record from data file

DO call a procedure

FOR process records in a file

FIND find a record

IF if - then - else

INSERT insert record into data file

PRINT print a value

READ read next record from file

RETURN return from a procedure

SELECT select records

SET set report attributes

SKIP skip to a line

UPDATE change contents of record in file

WHILE - REPEAT repeat a loop

name := assignment

The remainder of this section describes each statement listed above.