Microsoft®
JScript do...while Statement |
Language Reference Version 3
|
Executes a statement block once, and then repeats execution of the loop until a condition expression evaluates to false.
do
statement
while (expression) ;The do...while statement syntax has these parts:
Part Description statement The statement to be executed if expression is true. Can be a compound statement. expression An expression that can be coerced to Boolean true or false. If expression is true, the loop is executed again. If expression is false, the loop is terminated.
The value of expression is not checked until after the first iteration of the loop, guaranteeing that the the loop is executed at least once. Thereafter, it is checked after each succeeding iteration of the loop.See the continue Statement.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js750.htm, 2KB, , updated: 2020/3/12 12:06, local time: 2024/10/7 16:01,
98.80.143.34:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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? <A HREF="http://www.massmind.org/techref/inet/iis/jscript/htm/js750.htm"> do...while Statement</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to www.massmind.org! |
.