Language Reference |
Stops the current iteration of a loop, and starts a new iteration.
The optional label argument specifies the statement to which continue applies.
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:
- while and do...while loops test their condition, and if true, execute the loop again.
- for loops execute their increment expression, and if the test expression is true, execute the loop again.
- for...in loops proceed to the next field of the specified variable and execute the loop again.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js748.htm, 2KB, , updated: 2008/1/31 20:26, local time: 2018/10/18 16:44,
|©2018 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?|
<A HREF="http://techref.massmind.org/techref/inet/iis/jscript/htm/js748.htm"> continue Statement</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!