Content deleted Content added
No edit summary Tags: Reverted Mobile edit Mobile web edit |
m Reverted good faith edits by 171.231.76.239 (talk): Previous is fine, no need to change (HG) (3.4.10) |
||
Line 4:
{{refimprove|date=May 2010}}
In [[computer programming]], a '''block''' or '''code block''' or '''block of code''' is a lexical structure of [[
Blocks have two functions: to group statements so that they can be treated as one statement, and to define [[scope (computer science)|scopes]] for [[name binding|names]] to distinguish them from the same name used elsewhere. In a block-structured programming language, the objects named in outer blocks are visible inside inner blocks, unless they are [[Name masking|masked]] by an [[Object (computer science)|object]] declared with the same name.
|