while, endwhile

Repeats.

while <expression>

  ...

  ...

endwhile

Remarks

Repeats the statements between 'while' and 'endwhile' while <expression> is non-zero.

Example

; Repeat ten times.
i = 10
while i>0
  i = i - 1
endwhile

See also