[fpc-pascal] Re: undefining multiple defines
Marc Santhoff
M.Santhoff at t-online.de
Thu Mar 3 11:32:26 CET 2005
Am Do, den 03.03.2005 schrieb Jeff Pohlmeyer um 10:45:
> > unit b;
> > ...
> > {$undef M1-M15}
> > {$define M2}
> > ...
> > end.
>
>
> Can't you just put all your $undef's in a *.inc file,
> and then $include it anywhere you need to undef all?
>
> unit b;
> ...
> {$include undefs.inc}
> {$define M2}
> ...
> end.
Hey, cool idea!
Thanks you,
Marc
More information about the fpc-pascal
mailing list