COHERENT manpages

This page displays the COHERENT manpage for continue [Force next iteration of a loop].

List of available manpages
Index


continue -- C Keyword

Force next iteration of a loop

continue  forces the  next iteration  of  a for,  while, or  do loop.   For
example,

    while ((foo = getchar()) != EOF) {
        if ((foo < 'a') || (foo > 'z'))
            continue;
        ...     /* do something */
    }

forces the while loop to throw away everything except lower-case alphabetic
characters.

See Also

C keywords,
for,
while
ANSI Standard, §6.6.6.2