Reference.Continue History

Hide minor edits - Show changes to markup

October 24, 2009, at 12:42 AM by David A. Mellis -
Changed lines 3-4 from:

continue is used to bypass portions of code in a do, for, or while loop. It forces the conditional expression to be evaluated, without terminating the loop.

to:

The continue statement skips the rest of the current iteration of a loop (do, for, or while). It continues by checking the conditional expression of the loop, and proceeding with any subsequent iterations.

May 26, 2007, at 02:01 PM by Paul Badger -
Deleted line 9:
Changed line 11 from:
       continue;
to:
        continue;
May 26, 2007, at 02:01 PM by Paul Badger -
Added line 5:

Example

Changed lines 7-8 from:

Example

to:
May 26, 2007, at 02:00 PM by Paul Badger -
Changed lines 1-19 from:

continue

to:

continue

continue is used to bypass portions of code in a do, for, or while loop. It forces the conditional expression to be evaluated, without terminating the loop.

!!!!Example

for (x = 0; x < 255; x ++)
{

    if (x > 40 && x < 120){      // create jump in values
       continue;
    }

    digitalWrite(PWMpin, x);
    delay(50);
}

May 26, 2007, at 01:51 PM by Paul Badger -
Added line 1:

continue

Share