Back to Index

Definition: continue — Allowed: inside for only; Not allowed: outside loops.

Skips to the next iteration of the innermost for loop.

Example

for (i = 1; i <= 10; i = i + 1) {
  if (i % 2 == 0) {
    continue;
  }
  out(i) = 1;
}