I guess it can't hurt to try...

I guess it can't hurt to try...

Very annoyed by the fact that intrinsic functions which are overloaded don't behave like regular overloaded functions, in that trying to add an additional overload will hide the intrinsic function instead.
https://quality.embarcadero.com/browse/RSP-12795

Comments

  1. oh yes, very annoying. I think it's because the original functions are not overloaded.

    ReplyDelete
  2. Jeroen Wiert Pluimers Yes I assume it's legacy stuff. Still, these days I want better :)

    ReplyDelete
  3. Workaround can be making class function TMyBigInt.Abs

    ReplyDelete
  4. David Berneda Yes of course. But the idea here is two introduce a new type which behaves just like the native types, to make it easier to read code.

    ReplyDelete

Post a Comment