A compound statement enables the user to write multiple operators in a context that allows only one operator to be used.
compound-statement:
Begin statement-listopt End
statement-list:
statement
statement-list ; statement
Compound statements are executed as follows:
If the statements list is empty, the control is passed to the point that follows the compound statement.
If the statements list is not empty, the control is passed to the statements list.
A compound statement is used for the following statements:
See also: