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,064 of 2,978   
   Jason Burgon to Femme Verbeek   
   Re: Dem Dar Dastardly Procedural Types   
   20 Feb 06 14:38:32   
   
   From: gvision@ntlworld.com   
      
   "Femme Verbeek"  wrote in message   
   news:dtc1vp$tat$1@localhost.localdomain...   
      
   > You can also put the procedureal types in the header   
   >   
   > {$F+}    {Note the FAR compiler directive here}   
      
   You can, but that makes all procedures far (by default) , which is ususally   
   unnecessary. Much better to use the 'far' directive on the relevant   
   functions UNLESS you intend to make a real-mode overlay unit:   
      
   unit MyUnit;   
      
   {$ifdef MSDOS}   
     {$ifOpt O+}   
         {$F+}   
     {$else}   
          {$F-}   
     {$endif}   
   {$else}   
     {$F-}   
   {$endif}   
      
   The 'far' directive can still be used for those functions that must be   
   declared far regardless of target.   
      
   --   
   Jay   
      
   Author of Graphic Vision   
   http://homepage.ntlworld.com/gvision/   
      
   --- 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