While-Wend

Lopp with a starting condition when entering or exiting. The While-Wend-Loop will be entered and executed continuously as long as the condition is True.

Syntax:

Example

  dim i as integer
  i=10
  While i>0
    Decr i
    Print "Hello"
  Wend