From Scriptwiki
Jump to: navigation, search

Jumps to the beginning of a while loop.


Note that the while statements are also checked when using continue.


var %i = 1
while (%i) {
  inc %i
  if (%i < 12) { continue }
  unset %i
echo While loop ended at %i

The above loop will stop when %i reaches 12.

See Also