The use of the opening curly brace "{" in a statement context will indicate the opening of a new block of statements. The entire block will then be treated as a single statement in the context of the original block.

func myFunction
{
	firstStatement()
	// The following is a block statement
	{
		// variable declared inside this block
		// will only be visible in this block
		var n = 10
		secondStatement()
	}
	thirdStatement()
}

Twitter Facebook LinkedIn Youtube Slideshare Github