> OK, but how do I do it using the command line compiler?
oh sorry - i misunderstood.   
 
i thought you didn't want to use the command line complier
but thought you might have to to get the switches.
 
 
use the /D option to the command line compiler to pass
in the switches to define.
 
From the help:
 
The conditional defines option
 
The /D option lets you define conditional symbols, corresponding to the {$DEFINE symbol} compiler directive. The /D option must be followed by one or more conditional symbols separated by semicolons (;). For example, the following command line
 
DCC32 MYSTUFF /DIOCHECK;DEBUG;LIST
 
defines three conditional symbols, iocheck, debug, and list, for the compilation of MYSTUFF.PAS. This is equivalent to inserting
 
{$DEFINE IOCHECK}
{$DEFINE DEBUG}
{$DEFINE LIST}
 
at the beginning of MYSTUFF.PAS. If you specify multiple /D directives, you can concatenate the symbol lists. Therefore,
 
DCC32 MYSTUFF /DIOCHECK/DDEBUG/DLIST
 
is equivalent to the first example.
 
-ns
 

Reply via email to