20 Feb
2005
20 Feb
'05
5:11 p.m.
I would like to use the built-in Round() function, but its getting masked by the round() function if fp.pas in the Universal Interfaces, and they are not compatible (one returns a Integer, the other a double). In the past, with other Pascal dialects, I have solved this by using System.Round() to get the built-in routine, but I don't believe this syntax is supported by GPC. I could in theory arrange my uses clause to avoid using the fp unit, but as it turns out I only ever use Round() in routines that also require the fp unit's functions. Is there a simple solution to this? Regards, Steven