See Also
Description
Executes a statement until a specified condition is false.
Syntax
while (expression)
statement
The while statement syntax has these parts:
Part
Description
expression
A
Boolean expression checked
before each iteration of the loop. If
expression is
true, the
loop is executed. If
expression is
false, the loop is
terminated.
statement
The statement to be executed if
expression is
true. Can be a
compound
statement.
Remarks
The while statement checks expression before a loop is first
executed. If expression is false at this time, the loop is
never executed.
See the continue Statement.
© 1997 by Microsoft Corporation.
All rights reserved.
file: /Techref/inet/iis/jscript/htm/js772.htm,
2KB, , updated: 2020年3月12日 12:06, local time: 2025年9月14日 11:17,
©2025 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://massmind.org/Techref/inet/iis/jscript/htm/js772.htm"> while Statement</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.