File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / else
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



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 EEOOFF, but does something if the user types
anything else.

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

C keywords, if




































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.