continueJumps to the beginning of a while loop or the continuation part of a for loop. Example:int x = 0; int y = 0; while (x < 100) { x+=1; if(x % 2) // only odd numbers continue; // loop continuing from the start y += x; // all odd numbers up to 100 will be summed } See also:while, for, break► latest version online |
continueSpringt zum Anfang einer while-Schleife oder zum Fortsetzungsteil einer for-Schleife. Beispiel:int x = 0; int y = 0; while (x < 100) { x+=1; if(x % 2) // nur ungerade Zahlen continue; // Schleife startet von vorn y += x; // alle ungeraden Zahlen bis 100 werden summiert } Siehe auch:while, for, break► Neueste Version online |