e75d95 2016-11-14 Pontus Ãstlund 286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba) e75d95 2016-11-14 Pontus Ãstlund #elseif - Pike Reference Manual cb0cef 2016-12-05 Martin Nilsson 286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba) e75d95 2016-11-14 Pontus Ãstlund 286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba)
e75d95 2016-11-14 Pontus Ãstlund
e00373 2016-12-20 Jonas Walldén e75d95 2016-11-14 Pontus Ãstlund

286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba)
e75d95 2016-11-14 Pontus Ãstlund
286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba) e75d95 2016-11-14 Pontus Ãstlund

Directive #elseif

286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba)
Directive #elseif

#elif
#elseif

Description

These work as a combined #else and #if without adding an extra level of nesting.

Example
79d85b 2018-01-12 Stephen R. van den Berg

The following two are equivalent:

286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba)
#ifdef A     // Code for A.   #else   #ifdef B     // Code for B.   #else   #ifdef C     // Code for C.   #else     // Code for D.   #endif   #endif   #endif

And

#ifdef A     // Code for A.   #elif defined(B)     // Code for B.   #elseif defined(C)     // Code for C.   #else     // Code for D.   #endif

#if, #ifdef, #else, defined(), constant()

e75d95 2016-11-14 Pontus Ãstlund
286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba)
e75d95 2016-11-14 Pontus Ãstlund
Extracted from as of .
286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba) e75d95 2016-11-14 Pontus Ãstlund 286efd 2012-03-24 Henrik GrubbstrÃ¶m (Grubba)