[fpc-devel]Determining overloads between Single and Double

Michalis Kamburelis michalis at camelot.homedns.org
Sun Feb 15 02:17:17 CET 2004


Jonas Maebe wrote:
> 
> On 13 feb 2004, at 22:17, Michalis Kamburelis wrote:
> 
>> but sometimes it's a pain trying to write code in ObjFpc mode that 
>> should compile under Delphi too
> 
> 
> In that case, why do you want to use that single(1.0) construct? That 
> won't compile in Delphi either... I'm not sure what you are trying to 
> achieve: writing code that "mostly" compiles under Delphi too? What's 
> the use?
> 
> 
> Jonas
> 
I don't *want* to use p(Single(1.0)) construct in that sense that I 
would be happy with using just p(1.0), too. My point was that in FPC in 
Delphi mode I can't use p(1.0) and I can't use p(Single(1.0)) too.

Regards,
Michalis




More information about the fpc-devel mailing list