翻訳と辞書
Words near each other
・ Block-stacking problem
・ Blochius longirostris
・ Blochmann
・ Blochmannia
・ Blochy
・ Bloch–Grüneisen temperature
・ Block
・ Block (basketball)
・ Block (chess)
・ Block (data storage)
・ Block (district subdivision)
・ Block (Internet)
・ Block (meteorology)
・ Block (periodic table)
・ Block (permutation group theory)
Block (programming)
・ Block (sailing)
・ Block (telecommunications)
・ Block 0-100 East Franklin Street Historic District
・ Block 10
・ Block 11
・ Block 21
・ Block 35 Cobblestone Alley
・ Block 5A, South Sudan
・ Block acknowledgement
・ Block allocation map
・ Block and bleed manifold
・ Block and Sully
・ Block and tackle
・ Block Arcade, Melbourne


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Block (programming) : ウィキペディア英語版
Block (programming)

In computer programming, a block or code block is a section of 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.
The function of blocks in programming is to enable groups of statements to be treated as if they were one statement, and to narrow the lexical scope of variables, procedures and functions declared in a block so that they do not conflict with variables having the same name used elsewhere in a program for different purposes. In a block-structured programming language, the names of variables and other objects such as procedures which are declared in outer blocks are visible inside other inner blocks, unless they are shadowed by an object of the same name.
==History==
Ideas of block structure were developed in the 1950s during the development of the first autocodes, and were formalized in the Algol 58 and Algol 60 reports. Algol 58 introduced the notion of the "compound statement", which was related solely to control flow. The subsequent ''Revised Report'' which described the syntax and semantics of Algol 60 introduced the notion of a block and block scope, with a block consisting of " A sequence of declarations followed by a sequence of statements and enclosed between begin and end..." in which "()very declaration appears in a block in this way and is valid only for that block."

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Block (programming)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.