Next: , Previous: , Up: The Poke Language   [Contents][Index]

14.8 Compound Statements

Compound statements have the form

{ stmt… }

where stmt… is a list of statements, which can be themselves compound statements. Compound statements are primarily used to sequence instructions like:


A compound statement introduces a new lexical scope. Declarations in the compound statements are local to that statement.

Finally, compound statements can be empty: { }.