Keil™, An ARM® Company

Technical Support

C251: DEFINE DIRECTIVE


Information in this article applies to:

  • C251 Version 1.24
  • C251 Version 2.14

QUESTION

How can an optional argument be specified for each name given?

ANSWER

The DEFINE directive defines names on the invocation line which may be queried by the preprocessor with #if, #ifdef, and #ifndef. The defined names are copied exactly as they are entered.

MORE INFORMATION

  • Refer to DEFINE in the Cx51 User's Guide.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure