Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Language reference > Statements > Compound statements > Block

Block

A block statement groups a list of statements together. This statement may be prefixed with label, provided that it is enclosed within another block.

In order to prevent confusion with block and list primary, list is prefixed with a backslash (\).

  block  := "{" statement * "}" 
See also  | Statements  | Break  | Continue  | Compound statements  | Statement labels  | Grammar
Contributes notes:
Add a note
What's new | Anvil