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 statement list is empty, the control is passed to the point that follows the compound statement.
If the statement list is not empty, the control is passed to the statement list.
A compound statement is used for the following statements:
See also: