About Statement Blocks
A statement block is two or more statements enclosed in braces { }. For example, the following is a statement block:
Note that a statement block does not end in a semicolon.
When a statement block is executed, DScript first creates a new block scope (to keep variables local), and then executes each statement in the order listed. Finally, the value of the last statement is returned.
Wherever you can enter a single statement, you can enter a statement block.