Siebel VB Language Reference > Quick Reference: VB Statements and Functions >
The following statements control the logic flow.
Call
Transfers control to a subprogram
Call Statement
Do...Loop
Controls repetitive actions
Do...Loop Statement
Exit
Causes the current procedure or loop structure to return
Exit Statement
For...Next
Loops a fixed number of times
For...Next Statement
Goto
Sends control to a line label
GoTo Statement
If...Then...Else
Branches on a conditional value
If...Then...Else Statement
Let
Assigns a value to a variable
Let (Assignment Statement)
Lset
Left-aligns one string or a user-defined variable within another
Lset Statement
On...Goto
Branches to one of several labels depending upon value
On...GoTo Statement
Rset
Right-aligns one string or a user-defined variable within another
Reset Statement
Select Case
Executes one of a series of statement blocks
Select Case Statement
Set
Sets an object variable to a value
Set Statement
Stop
Stops program execution
Stop Statement
While...Wend
While...Wend Statement
With
Executes a series of statements on a specified variable or object
With Statement