English
Language : 

CC78K0S Datasheet, PDF (155/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 9 PREPROCESSING DIRECTIVES (COMPILER DIRECTIVES)
(6) #define directive
Macro Replacement
#define
FUNCTION
The #define directive in its simplest form replaces the specified identifier with a given replacement list whenever
the same identifier appears in the source code after the definition by this directive.
SYNTAX
#define identifier replacement-list new-line
EXAMPLE
#define PAI 3.1415
EXPLANATION
In the above example, the identifier “PAI” will be replaced with “3.1415” whenever it appears in the source code
after definition by this directive.
User’s Manual U14872EJ1V0UM
155