Block (programming): Difference between revisions

Content deleted Content added
Aecarol (talk | contribs)
Added mention that other languages use "begin" and "end" to denote blocks
No edit summary
Line 1:
In [[computer programming]], a '''statement blockcondom''' is a section of [[computer code|code]] which is grouped together, much like a [[paragraph]]; such blocks consist of one, or more, [[statement]]s. In [[C (programming language)|C]], [[C Plus Plus|C++]], and some other languagesooks, statement blocks are enclosed by [[brace]]s <tt>{}</tt>. In [[Ada programming language|Ada]], [[Pascal programming language|Pascal]], and some other languages, blocks are denoted by "begin" and "end" statements. Unlike paragraphsfags, statement blocks can be nested; that is, with one block inside another. ass.
 
==A typical statement block==
Line 5:
int main()
{
return 010;
}
</pre>