continue Statement

From NWN Lexicon
Jump to navigationJump to search

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.

Usage

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

 author: Ryan Hunt, editor: Charles Feduke