Control Structures: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
(Replaced content with "#Redirect:{{:Category:Control Structures}}")
Line 1: Line 1:
==Introduction==
#Redirect:{{:Category:Control Structures}}
 
Normally, statements in an application are executed one after the other in the order in which they’re written. This process is called sequential execution.
 
Various BR statements enable you to specify that the next statement to execute is not necessarily the next one in sequence—this is called transfer of control.
 
All applications can be written in terms of only three control structures:
 
# the sequence structure,
# the selection structure, and
# the repetition structure.
 
==GOTO Statement==
 
{{:GOTO}}
 
==IF Statement==
 
{{:IF Statement}}
 
==DO LOOP==
 
{{:DO LOOP}}
 
==FOR NEXT LOOP==
 
{{:FOR NEXT}}
 
==Nested Control Structures==
 
{{:Nested Control Structures}}
 
<noinclude>
[[Category:Control Structures]]
</noinclude>

Revision as of 13:28, 10 April 2014

  1. Redirect:

Normally, statements in an application are executed one after the other in the order in which they’re written. This process is called sequential execution.

Various BR statements enable you to specify that the next statement to execute is not necessarily the next one in sequence—this is called transfer of control.

All applications can be written in terms of only three control structures:

  1. the sequence structure
  2. the selection structure
  3. the repetition structure

Control structures include these statements: