|
|
(One intermediate revision by the same user not shown) |
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>
| |