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 1,473 of 2,978   
   Judas West to All   
   Default parameter values   
   20 Mar 05 03:21:04   
   
   From: judas@west.info   
      
   I am trying to port some delphi code to free pascal. This code has   
   dependencies to indy9. So I need to port that too. The compiled nags about   
   default parameter values. "Fatal: Syntax error, ) expected but = found).   
      
       constructor Create(const AInitialState: Boolean = False;   
        const AManualReset: Boolean = False); reintroduce;   
      
   This is a delphi property. I have used -s2d flag, but it still complains.   
   Now tell me, does the "delphi compability" flag lack this feature and will   
   it ever be implemented? Is there any work arounds, any macros, anything? Not   
   having this feature would mean huge amount of rewriting code :(   
      
   (is this right forum to ask this?)   
      
   --- 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