Block (programming): Difference between revisions

Content deleted Content added
OAbot (talk | contribs)
m Open access bot: doi added to citation with #oabot.
change paradigms template to navbox (see Template talk:Programming paradigms#too long)
Line 3:
{{redirect|Code block|the IDE|Code::Blocks|block-based programming|Visual programming language}}
{{refimprove|date=May 2010}}
{{Programming paradigms}}
 
In [[computer programming]], a '''block''' or '''code block''' or '''block of code''' is a lexical structure of [[source code]] which is grouped together. Blocks consist of one or more [[Declaration (computer programming)|declarations]] and [[Statement (computer science)|statements]]. A [[programming language]] that permits the creation of blocks, including blocks [[Nesting (computing)|nested]] within other blocks, is called a '''block-structured programming language'''. Blocks are fundamental to [[structured programming]], where [[control structure]]s are formed from blocks.
Line 128 ⟶ 127:
==References==
{{Reflist}}
{{Programming paradigms navbox}}
 
{{DEFAULTSORT:Statement Block}}
[[Category:Programming constructs]]