continue Statement

From NWN Lexicon

Similar to the break statement in that it skips remaining statements within a looping code block. Instead of halting the remaining loop iterations, however, continue begins again at the next iteration.

[edit] Usage

for (i=0; i < 5; i++)
{
    if (condition)
        continue;
 
    // statements;
}

 author: Ryan Hunt, editor: Charles Feduke

Personal tools
Categories