Category:Branching Statements: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Branching") |
No edit summary |
||
Line 1: | Line 1: | ||
Branching | {{:Branching Statements}} |
Revision as of 21:53, 6 February 2013
- END IF (EN IF)
Works in conjunction with IF to transfer control or execute statements on the basis of a conditional expression.
- ELSE (EL)
Works in conjunction with IF to transfer control or execute statements on the basis of a conditional expression.
- GOSUB (GOS)
Unconditionally transfers program control to a subroutine.
- GOTO (GOT)
Unconditionally transfers program control to a line or label.
Transfers control or execute statements on the basis of a conditional expression.
- ON GOSUB (ON GOS)
Conditionally transfers control to one of a list of subroutines.
- ON GOTO (ON GOT)
Conditionally transfers control to one of a list of lines.
- RETURN (RETU)
Ends a subroutine and returns control to the statement after the calling GOSUB.