COG Keyword - continue

Continue to next iteration of containing loop (if, for, while, or do..while). That is, continue the loop without executing any more statements inside the loop.

Using continue in JK is a syntax error, even when used as an identifier. Simply put, don't ever use continue as a keyword, symbol, call handler name, or goto label in JK. This keyword does function correctly in MotS.

Example of using a goto as a replacement for continue statement:

  for (i = 0; i < 3; i = i + 1)
  {
     if (i == 1)
     {
        goto ContinueLoop;
     }
ContinueLoop:
     unused = 0;
  }
  • Create:
This page was last modified 00:37, 26 August 2008.   This page has been accessed 363 times.