Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


while                       C Keyword                       while




Introduce a loop

while(condition)

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


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026