Continue

Befehl zum Fortsetzen einer Schleife mit der nächsten Iteration. Alle Befehle die im Schleifenkörper nach continue stehen werden übersprungen. Hierbei wird je nach Schleifentyp zur entsprechenden Schleifenbedingung gesprungen.

Beispiel:

print "for-next"
for i=0 to 3
  if i=2 then
    continue  'springt zu 'for ..'
  end if
  print str(i)
next
 
print "while-wend"
clr i
while i<3
  incr i
  if i=2 then
    continue  'springt zu 'while ..'
  end if
  print str(i)
wend
 
print "do-loop"
clr i
do
  incr i
  if i=2 then
    continue  'springt zu 'loop ..'
  end if
  print str(i)
loop until i>2