|
while
|
Batch language command
|
|
The 'while'loop.
|
Syntax
|
while(cond){..body..}
|
Notes
|
Cond is a logical expression. The loop is executed while Cond evaluates to non-zero. The brackets {}must be included in the statement, even for single-statement bodies.
|
Examples
|
while ((i>0)&&(i>100)) { i = Random (0,125); fprintf (stdout, "\n", i); }
|
|
Last modified: 8/19/2002 |
|
|