File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / while
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
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



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.