•  Back 
  •  C Language 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : C-Language Documentation
Author      : John Kormylo
Version     : C.HYP 1.0
Subject     : Documentation/C-Language
Nodes       : 233
Index Size  : 6362
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ #elif ]

Must be used after an #if #ifdef #ifndef or #elif directive.

  #elif 'logical expression'

where 'logical expression' can use any of the Logical Operators
plus:

  defined('macro')   /* TRUE if 'macro' name is defined */

If the logical expression is TRUE (!0), then compilation resumes.
If the logical expression is FALSE (0), then compilation stops until
the next '#else' '#elif' or '#endif' directive.

#elif acts like a combination of #else and #if, except that
several of them can be used with only one #endif; e.g.,

#if            instead of          #if
#elif                              #else
#elif                              # if
...                                # else
#else                              ...
#endif                             # endif
                                   #endif

See also Preprocessor.