Siebel VB Language Reference > Quick Reference: Statements and Functions >

Control Flow


The following statements control the logic flow.

Statement
Purpose
For More Information
Call
Transfers control to a subprogram
Do...Loop
Controls repetitive actions
Exit
Causes the current procedure or loop structure to return
For...Next
Loops a fixed number of times
Goto
Sends control to a line label
If...Then...Else
Branches on a conditional value
Let
Assigns a value to a variable
Lset
Left-aligns one string or a user-defined variable within another
On...Goto
Branches to one of several labels depending upon value
Rset
Right-aligns one string or a user-defined variable within another
Select Case
Executes one of a series of statement blocks
Set
Sets an object variable to a value
Stop
Stops program execution
While...Wend
Controls repetitive actions
With
Executes a series of statements on a specified variable or object


 Siebel VB Language Reference
 Published: 18 June 2003