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,693 of 2,978   
   Jonas Maebe to Ruud   
   Re: $DEFINE / $IFDEF   
   24 Sep 08 17:58:47   
   
   0e6eb7a4   
   From: Jonas.Maebe@rug.SPAM.ac.ME.be.NOT.invalid   
      
   In article   
   ,   
    Ruud  wrote:   
      
   > I'm rebuilding my multi processor assembler. To make it faster by   
   > eliminating certain CPU's, I want to use DEFINE and IFDEF etc. But I   
   > ran into a problem. Using a lot of units, it seems I have to DEFINE   
   > the wanted CPU in every unit. Is there way to DEFINE a CPU in only one   
   > unit in such a way that it is recognised in other units as well?   
      
   The easiest way is to create a common include file with such defines,   
   and to include this file in all of your units.   
      
   You cannot export defines from one unit into another with TP/BP.   
      
      
   Jonas   
      
   --- 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