Control Structures: Difference between revisions

Beefed up a bit...encyclopedia articles should have more information
(revert spam)
(Beefed up a bit...encyclopedia articles should have more information)
 
(32 intermediate revisions by 7 users not shown)
Line 1:
[[Category:Encyclopedia]]'''Control structures''' are features of programming languages that influence the code flow. Examples Twoof commoncontrol examplesstructures are loops and conditions.:
*loops, which repeat sections of code
*conditions, which selectively execute sections of code
*exceptions, which help in error handling and avoid causing more problems when there is another problem
*jumps (a.k.a. "branches" or "gotos"), which explicitly and usually unconditionally set the next instruction to be executed by the program
 
Examples of these structures can be found on the following pages:
Due to volume and relative ease of segregation, the code examples on this page were moved to the following articles.
 
* [[Conditional Structures]]
Anonymous user