Term:Block

From Juneday education
Jump to: navigation, search

In computer programming, a block or code block is a lexical structure of source code which is grouped together. Blocks consist of one or more declarations and statements. A programming language that permits the creation of blocks, including blocks nested within other blocks, is called a block-structured programming language. Blocks are fundamental to structured programming, where control structures are formed from blocks.

Source: Wikipedia (Creative Commons Attribution-ShareAlike License)