While / End While

An indefinite loop structure. "Wend" and "End While" can be used interchangeably.

Syntax: SuspendTask(task list)

    While condition
        Statements
   
End While   or   Wend

While condition is true execute the statements.

Example:

a="0"
While a<="9"
  Call putc(a): Call putc(" ")
  a=a+1
End While
 

Also See: Loop Structures