Jump to content

Code block

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hillbillybob77 (talk | contribs) at 21:47, 28 July 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A Code block is simply put, a module of programming code. Many languages, C/C++, Java, PERL, and even scripting languages support code blocks. It helps to make the code more readable, and you can easily seperate your code into logical sections that organize your work. How a language handles a code block is entirely up to that language. Java utlizes braces to denote the beginning and end of a code block.