General Macros

Describes macros that can be used in the platform-specific configuration header and in bootstrap code.

INIT_LOGICAL_SYMBOL

INIT_LOGICAL_SYMBOL SYM, COUNT

Checks if the symbol SYM is defined. If so, it sets it to a value which is logically TRUE and increments symbol COUNT by one; COUNT may be omitted if not required.

If the symbol SYM is not defined, then the macro defines it, and sets it to a logically FALSE value.

INIT_NUMERIC_SYMBOL

INIT_NUMERIC_SYMBOL    SYM, DEFAULT

Checks if the symbol SYM is defined. If so, its value is left unchanged.

If SYM is not defined, then the macro defines it as a numeric variable and sets its value to DEFAULT.

INIT_NUMERIC_CONSTANT

INIT_NUMERIC_CONSTANT    SYM, DEFAULT

Checks if the symbol SYM is defined. If so, its value is left unchanged.

If SYM is not defined, then the macro defines it as a numeric constant and sets its value to DEFAULT.