|
CC78K4 Datasheet, PDF (150/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language | |||
|
◁ |
CHAPTER 9 PREPROCESSING DIRECTIVES (COMPILER DIRECTIVES)
(6) #define directive
Macro Replacement Directives
#define
FUNCTION
The #define directive in its simplest form replaces the specified identifier (manifest) with a given replacement list
(any character sequence that does not contain a line feed) whenever the same identifier appears in the source
code after the definition by this directive.
SYNTAX
#define identifier replacement list line feed
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 the definition by this directive.
150
Userâs Manual U15556EJ1V0UM
|
▷ |