CODEIF - conditionally compile some code.

Usage:

$codeif(expression, codestring)

Where:

expression
is a constant boolean expression.
codestring
is a string of text that is balanced with respect to parentheses.

Description:

The CODEIF macro provides communication between the constant declarations and the macro processing so that different versions of a program may be generated depending on the values assigned to constants defined in the CONST or MCONST sections.

If "expression" is true, "codestring" is processed; otherwise "codestring" is ignored. Note that unlike a user-defined macro, it is possible to expand macros in "codestring".

Copyright © 1996, Thinkage Ltd.