Hi there.
I've a set of overloaded procedures like this:
Show is a procedure that prints a value in a formatted way.
procedure Show(const AValue: string); overload; // no format
procedure Show(const AValue: TDateTime); overload; // formatdatetime
procedure Show(const AValue: Double); overload; // floattostr
The problem is that TDatetime is a Double, and the compiler can't do the distinction: unit1.pas(44,15) Error: Can't determine which overloaded function to call
This is the wrong way to do?