User`s manual

Dynamic C Users Manual digi.com 223
#debug
#nodebug
Enables or disables debug code compilation. #debug is the default condition. A function's local debug
or nodebug keyword overrides the global #debug or #nodebug directive. In other words, if a func-
tion does not have a local debug or nodebug keyword, the #debug or #nodebug directive would
apply.
#nodebug prevents RST 28h instructions from being inserted between C statements and assembly
instructions.
NOTE: These directives do nothing if they are inside of a function. This is by design. They
are meant to be used at the top of an application file.
#define
Syntax: #define name text or #define name (parameters . . . ) text
Defines a macro with or without parameters according to ANSI standard. A macro without parameters
may be considered a symbolic constant. Supports the # and ## macro operators. Macros can have up to 32
parameters and can be nested to 126 levels.
#endasm
Ends a block of assembly code.
#fatal
Syntax: #fatal “...”
Instructs the compiler to act as if a fatal error. The string in quotes following the directive is the message to
be printed