PE> Show me the mods I need to this bt.cmd fragment...
PE> "cd\yatic"
PE> "yaticp"
BL> ROFL! That's how you caught me the last time...
You have to remember that I will do a pain vs gain comparison myself, and
won't write a utility myself if it would take longer to do the stuff
manually.
BL> section 1 of 1 of file nullzero.zip
NULLZERO.C(6): Error! E1100: Definition of macro 'max' not identical to
previous definition
NULLZERO.C(9): Error! E1011: Symbol 'max' has not been declared
NULLZERO.C(9): Error! E1054: Expression must be constant
NULLZERO.C(9): Error! E1020: Dimension cannot be 0 or negative
Error: Compiler returned a bad status compiling 'NULLZERO.C'
However, that was because the compiler was non-conforming by default, and
had decided to define a "max" macro on your behalf. It is normal
to put your own #defines in uppercase, and call them something more
descriptive, like MAX_FILES. However, that is beside the point, the code
is valid, and after a bit of hunting around, I passed the "-za"
option to wcl386, and it compiled clean.
[later]
I've tried it and it works. The only change I have made to it is to add
some comments at the top...
/* Written by Bob Lawrence */
/* Released to the public domain */
/* Used to clean up archived files in BBS maintenance */
@EOT:
---
* Origin: X (3:711/934.9)
|