please dont rip this site

Microsoft® JScript™
continue Statement
 Language Reference 
Version 1 

See Also


Description
Stops the current iteration of a loop, and starts a new iteration.
Syntax
continue [label];

The optional label argument specifies the statement to which continue applies.

Remarks
You can use the continue statement only inside a while, do...while, for, or for...in loop. Executing the continue statement stops the current iteration of the loop and continues program flow with the beginning of the loop. This has the following effects on the different types of loops:

Example:

This is very handy in for loops:
forLoop1: //The first for statement is labeled "forLoop1"
for (i = 0; i < 3; i++) {      
   forLoop2: //The second for statement is labeled "forLoop2"
   for (j = 0; j < 3; j++) {   
      if (i === 1 && j === 1) {
         continue forLoop1
      }
      console.log('i = ' + i + ', j = ' + j)
   }
}
// 'i = 1, j - 1' will NOT print, all other combinations from 0 to 2 will.

file: /Techref/inet/iis/jscript/htm/js748.htm, 2KB, , updated: 2019/3/8 09:46, local time: 2024/12/28 13:24,
TOP NEW HELP FIND: 
3.133.124.80:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/Techref/inet/iis/jscript/htm/js748.htm"> continue Statement</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?