Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - the syntax of any "d" option which follows on the command line is extended http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The syntax of any "d" option which follows on the command line is extended
to include C/C++ tokens as part of "text".  The token string is terminated
by a space character.  This permits more complex syntax than is normally
allowed.
Example:

     /d+ /d_radx=x*3.1415926/180

This is equivalent to specifying the following in the source code.

Example:

     #define _radx x*3.1415926/180

Watcom C++ extends this feature by allowing parameterized macros.  When a
parameter list is specified, the "=" character must not be specified.  It
also permits immediate definition of the macro as shown in the second line
of the example.

Example:

     /d+ /d_rad(x)x*3.1415926/180
     /d+_rad(x)x*3.1415926/180

This is equivalent to specifying the following in the source code.

Example:

     #define _rad(x) x*3.1415926/180

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson