Table of Contents
- ACCEPT Statement
- ASSIGNMENT Statement
- ATTACH Statement
- AWAITOPEN Statement
- CALL Statement
- CANCEL Statement
- CASE Statement
- CAUSE Statement
- CAUSE1 Statement
- CAUSEANDRESET Statement
- CHANGEFILE Statement
- CHECKPOINT Statement
- CLOSE Statement
- CONTINUE Statement
- DEALLOCATE Statement
- DETACH Statement
- DISABLE Statement
- DISPLAY Statement
- DO Statement
- ENABLE Statement
- ERASE Statement
- EVENT Statement
- EXCHANGE Statement
- FILL Statement
- FIX Statement
- FOR Statement
- FREE Statement
- FREEZE Statement
- GO TO Statement
- I/O Statement
- IF Statement
- INTERRUPT Statement
- INVOCATION Statement
- LIBERATE Statement
- LOCK File Statement
- LOCK Interlock Statement
- MERGE Statement
- MESSAGESEARCHER Statement
- MLSACCEPT Statement
- MLSDISPLAY Statement
- MLSTRANSLATE Statement
- MULTIPLE ATTRIBUTE ASSIGNMENT Statement
- ON Statement
- OPEN Statement
- POINTER Statement
- PROCEDURE INVOCATION Statement
- PROCEDURE REFERENCE Statement
- PROCESS Statement
- PROCURE Statement
- PROGRAMDUMP Statement
- READ Statement
- REMOVEFILE Statement
- REPLACE Statement
- REPLACE FAMILY-CHANGE Statement
- REPLACE POINTER-VALUED ATTRIBUTE Statement
- RESET Statement
- RESIZE Statement
- RESPOND Statement
- REWIND Statement
- RUN Statement
- SCAN Statement
- SEEK Statement
- SET Statement
- SETABSTRACTVALUE Statement
- SORT Statement
- SPACE Statement
- SWAP Statement
- THRU Statement
- TRY Statement
- UNLOCK Statement
- WAIT Statement
- WAITANDRESET Statement
- WHEN Statement
- WHILE Statement
- WRITE Statement
- ZIP Statement
Statements are the active elements of an ALGOL program. They indicate an operation to be performed. Statements are normally executed in the order in which they appear in the program. A statement that transfers control to another program location can alter this sequential flow of execution. Note that a statement can be null or empty.
In this section, the ALGOL statements are listed and discussed in alphabetical order. In many cases, portions of the syntax of a statement are discussed before moving on to the next syntax segment.
The syntax for any statement is recursive: a statement can be a block or a compound statement, each of which, in turn, can include statements. For a description of the syntax of <block> and <compound statement>, see Program Structure.
Statements can be labeled or unlabeled. A <labeled statement> is of the following form:
──<label identifier>── : ──<statement>─────────────────────────────────┤
An <unlabeled statement> is any statement that does not contain a label identifier.

