| |||||
Technical Support On-Line Manuals Cx51 User's Guide | MacrosPerhaps the most useful aspect of the C preprocessor is the ability to create and use macros. Macros enable you to assign short names to source code blocks. When you use the macro name in your source file, the preprocessor replaces it with the source code block specified in the macro definition. A macro definition includes the name of the macro, the macro body, and may include macro arguments.
There are a few caveats of macros that deserve further scrutiny. | ||||
| |||||