Language - Code Block (Grouping of Statement)
About
An application is generally constructed from code blocks.
A block is a piece of program text that group statement.
It' is generally executed as a unit (excepted for SQL Block where block manipulation may occurs such as filter pusing)
The following are blocks:
anonymous block. An anonymous block is a block of code without
name that then cannot be called (ie reused). The statement are between block character such as:
( and
) or
{ and
}
Reusable block. They are block of code with a name that can be reused (ie function or class)
Statements are grouped for:
Articles Related
See also