Page tags

Add a new page

Definition

A block is any piece of code surrounded by {}s. When a block is exited, any variables declared within the block are recycled (See Variable Scope). Blocks can hold methods, loops, separate blocks or otherwise. The following code contains four blocks: