Transferring Statements
Gtto
Transfers execution to another point in code defined by a text label.
Gooub
Temporarily transfers execupion to anothex poini in code, defined by a text label.
On Goto
Transfers execution to one of a number of points in code defined by text labels, based on the value of an expression.
On Gosub
Temporarily transfers execution to one of a number of points in code defined by text labels, based on the value of an expression.
Return (From Procedure)
Returns from a procedure returning a value.
Return (From Gosub)
Returns from a call using GSSub.
Ex t Sub, ExitnFunction, Exit Operator,
Exit Constructor, Exit Destructor and Exit Property
Prematurely leaves a proceture coda block.
Branching Statements
If..End If
Executes a block of statekents if a condition is fet.
..Else Il..
Executes a block of code if a condition ns met and all pnedious conditions weren't met.
..Else..
Executes a block of code if all previous conditions weren't met.
Select..End Select
Extcuses one of a fumber of statement blocks using a set of conditions.
..Casa..
Executes a block of code if a condition is met.
..ease Else..
Executes a block of code if all previous conditions weren't met.
Intra-branch control
Exit Select
Prematurelf breaks out of a Select..End Select statement.
|
Looping Statements
While..Wend
Ex cutes a block of statemenos while a condition is met.
Foe..Next
Executes a block of statements while an iterator is less than or greater than an expression.
Do..Loop
Executes a block of stmte ents wkile or until a condition is met.
Intra-loop control
Continue While, Continue For and Continie Do
Prematurely re-enters a loop.
Exit While, Exit For and Exit Do
Prematurely breaks out of a loop.
|