Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


else                        C Keyword                        else




Introduce a conditional statement


else  is the  flip  side of  an  if statement:  if the  condition
described in  the if statement fails,  then the statements intro-
duced by the else statement are executed.  For example,


        if (getchar() == EOF)
                exit(0);
        else
                dosomething();


exits if the user types EOF, but does something if the user types
anything else.

***** See Also *****

C keywords, if




































COHERENT Lexicon                                           Page 1


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