|
|
1.1 root 1:
2:
3: #elif Preprocessing Directive #elif
4:
5:
6:
7:
8: Include code conditionally
9:
10:
11: The preprocessing directive #elif conditionally includes code
12: within a program. It can be used after any of the instructions
13: #if, #ifdef, or #ifndef.
14:
15: If the conditional expression of the preceding #if, #ifdef, or
16: #ifndef directive is false (i.e., evalutates to zero) and if the
17: current condition is true (i.e., evaluates to a value other than
18: zero), then group is included within the program, up to the next
19: #elif, #else, or #endif directive. An #if, #ifdef, or #ifndef
20: directive may be followed by any number of #elif directives.
21:
22: The constant-expression must be an integral expression, and it
23: cannot include a sizeof operator, a cast, or an enumeration con-
24: stant. All macro substitutions are performed upon the constant-
25: expression before it is evaluated. All integer constants are
26: treated as long objects, and are then evaluated. If constant-
27: expression includes character constants, all escape sequences are
28: converted into characters before evaluation.
29:
30: ***** See Also *****
31:
32: #else, #endif, #if, #ifdef, #ifndef, C preprocessor
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.