home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,181 of 2,978   
   Wolf Behrenhoff to Ruud.Baltissen@abp.nl   
   Re: Use of $IFDEF etc.   
   23 May 06 14:12:11   
   
   From: NoSpamPleaseButThisIsValid3@gmx.net   
      
   Ruud.Baltissen@abp.nl schrieb:   
   > I rarely use {$define}, {$ifdef} etc. Now I want to use it in a project   
   > with several units. But it seems that I have to add (or remove) the   
   > {$define NAME} statement to/from every unit involved. I had hoped that   
   > I only needed to add/remove it just to/from only one unit or main   
   > program. Am I doing something wrong?   
      
   You can use the the -d argument when compiling.   
      
   bpc -b -dNAME mainprogram.pas   
      
   Wolf   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca