[fpc-pascal] Re: undefining multiple defines

Jeff Pohlmeyer yetanothergeek at yahoo.com
Thu Mar 3 10:45:49 CET 2005


> 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.





-- 



	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/




More information about the fpc-pascal mailing list