Show: Delphi C++
Display Preferences

Blocks

From RAD Studio
Jump to: navigation, search

Go Up to Statements Index

A compound statement, or block, is a list (possibly empty) of statements enclosed in matching braces ({ }). Syntactically, a block can be considered to be a single statement, but it also plays a role in the scoping of identifiers. An identifier declared within a block has a scope starting at the point of declaration and ending at the closing brace. Blocks can be nested to any depth up to the limits of memory.

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance