VB While Statements
While <condition> do
<List of Statements>
Wend
The VB Manual Recommends a different structure.
Use the alternative if you wish.
, VB For Statements
For <Variable> = <start> to <finish>
<List of Statements>
Next <Variable>
For <Variable> = <start> to <finish> Step <increment>
<List of Statements>
Next <Variable>
Example:
For I = 1 to 10 do
A[I] = A[I] + 1
Next I
While <condition> do
<List of Statements>
Wend
The VB Manual Recommends a different structure.
Use the alternative if you wish.
, VB For Statements
For <Variable> = <start> to <finish>
<List of Statements>
Next <Variable>
For <Variable> = <start> to <finish> Step <increment>
<List of Statements>
Next <Variable>
Example:
For I = 1 to 10 do
A[I] = A[I] + 1
Next I