ILE C/C++ Compiler Reference
Specifies preprocessor macros that take effect before the file
is processed by the compiler. The format DEFINE(macro) is equivalent
to specifying DEFINE('macro=1').

DEFINE Syntax:
|--+----------------------------------------------+-------------|
| .-*NONE------------------------. |
| | .--------------------------. | |
| | V | | |
'-DEFINE(--+---+-'--name--'-----------+-+-+--)-'
'-'--name--=--value--'-'
- *NONE
- Default setting. No macro is defined.
- name or name=value
- A maximum of 32 macros may be defined, and the maximum length
of a macro is 80 characters. Enclose each macro in single quotation
marks. The quotation marks are not part of the 80 character string
and are not required when the CRTCMOD or CRTCPPMOD prompt screens
are used. Single quotation marks are required for case-sensitive macros.
Separate macros with blank spaces. If value is
not specified, the compiler assigns a value of 1 to the macro.
Note:
Macros, that are defined in the command, override
any macro definition of the same name in the source. A warning message
is generated by the compiler. Function-like macros such as #define
max(a,b) ((a)>;(b):(a)?(b)) cannot be defined on the command.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]