Table of Contents
What kind of Clipper switches should I use to use Clipper optimally ?
If you wonder what's the usage of each switch, please read below explaination:
/m |
Compile current module only, therefore you should use Make program such as RMake, MS Make, MakForce, etc |
/n |
Suppress automatic procedure definition (with the same name as the PRG file), which enables you to utilize file-wide Static variables; but you are forced to declare the procedure or function explicitly |
/w |
Allow Clipper to display warnings on ambiguous variables references |
/es2 |
Ask Clipper not to generate .OBJ file and set DOS errorlevel upon exit, if any warnings or errors are encountered during compilation |
Of course, you can use additional Clipper switches, i.e. if you use some manifest constants like this code fragment:
#ifdef ADS
#include "ADS.ch"
#else
#include "SIxCDX.ch"
#endif
function Test()
use Invoice
index on Invoice->InvNo tag InvNo
return nil