RAD Studio |  |

Using The -D And -U Command-line Options
See Also
Collapse All

Identifiers can be defined and undefined using the command-line compiler options -D and -U.

The command line

Copy Code

    BCC32 -Ddebug=1; paradox=0; X -Umysym myprog.cbc++ -Ddebug=1:paradox=0:X -Umysym myprog.c
    bc++ -Ddebug=1:paradox=0:X -Umysym myprog.c

is equivalent to placing

Copy Code

    #define debug 1
    #define paradox 0

in the program.

See Also

#define

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!