Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


if                          C Keyword                          if




Introduce a conditional statement


if is  a C keyword that introduces  a conditional statement.  For
example,


        if (i==10)
                dosomething();


will dosomething only if i equals ten.

if statements can be used with the statements else if and else to
create a  chain of conditional statements.  Such  a chain can in-
clude  any  number  of else  if  statements,  but  only one  else
statement.

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

C keywords, else



































COHERENT Lexicon                                           Page 1


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