Language - Code Block (Grouping of Statement)

1 - 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:

3 - See also

code/grammar/block.txt ยท Last modified: 2018/11/21 19:32 by gerardnico