Statement
|
Description
|
Simple Statements
|
|
Assignment
|
Used to assign a value to a variable.
|
Break
|
Used to exit a for-next/do-loop statement.
|
Call
|
Transfers control to a subroutine.
|
Comment
|
Text which is ignored and used for documentation purposes.
|
Continue
|
Used to goto the next interaction of a for-next/do-loop statement.
|
Exit
|
Ends the program and returns control to the system.
|
Include
|
Include the specified file.
|
Return
|
Return to the caller.
|
Compound Statements
|
|
If-Then-End
|
Used to conditionally execute a block of statements when expression evaluates to true.
|
If-Then-Else-End
|
Used to conditionally execute a block of statements when expression evaluates to true and another block of statements when the expression is false.
|
If-Then-ElseIf-Then-End
|
Used to conditionally execute a block of statements when some expression evaluates to true.
|
If-Then-ElseIf-Then-Else-End
|
Used to conditionally execute a block of statements when some expression evaluates to true and another block of statements when the expressions are false.
|
Do-Loop
|
Repeats a block of statements.
|
Do-Until-Loop
|
Repeats a block of statements until the specified expression is true.
|
Do-While-Loop
|
Repeats a block of statements while the specified expression is true.
|
Do-Loop-Until
|
Repeats a block of statements until the specified expression is true.
|
Do-Loop-While
|
Repeats a block of statements while the specified expression is true.
|
For-Next
|
Repeats a block of statements a specified number of times.
|
For-Step-Next
|
Repeats a block of statements a specified number of times.
|