While ... Wend

Top  Previous  Next

While...WEnd - Control Loop

 

Description:  The While...WEnd loops like a Do...Loop until a condition is met.

Example

While x < 5

x = x + 1

SMEvent.Raise "Trace", x & " Loop"

Wend