|
|
coherent
while C Keyword while
Introduce a loop
wwhhiillee(_c_o_n_d_i_t_i_o_n)
while is a C keyword that introduces a conditional loop. con-
dition is tested on reiteration of the loop, and the loop ends
when condition is no longer satisfied. For example,
while (foo < 10)
introduces a loop that will continue until the variable foo is
reset to ten or greater. Note that the statement
while (1)
will loop forever, unless interrupted by a break, goto, or return
statement.
***** See Also *****
break, C keywords, continue, do, for
COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.