On Sun, Feb 25, 2018 at 5:59 PM, Michael Van Canneyt
<mich...@freepascal.org> wrote:

>> So, all we can do is let the compiler pick the float version for
>> Abs(Variant)?
>
>
> It seems so.

OK, for D compatibilty (untill they change that).

> Better yet, don't use variants. They violate what Pascal stands
> for: type safety.
>
> If you really _must_ use them, do any conversions explicitly.


Point taken.

Bart
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to