|
|
1.1 root 1:
2:
3: while C Keyword while
4:
5:
6:
7:
8: Introduce a loop
9:
10: wwhhiillee(_c_o_n_d_i_t_i_o_n)
11:
12: while is a C keyword that introduces a conditional loop. con-
13: dition is tested on reiteration of the loop, and the loop ends
14: when condition is no longer satisfied. For example,
15:
16:
17: while (foo < 10)
18:
19:
20: introduces a loop that will continue until the variable foo is
21: reset to ten or greater. Note that the statement
22:
23:
24: while (1)
25:
26:
27: will loop forever, unless interrupted by a break, goto, or return
28: statement.
29:
30: ***** See Also *****
31:
32: break, C keywords, continue, do, for
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.