> Finally I agree in general, regarding good practice. But my application is > about image processing. The overloaded methods are for resizing images. > The extended version accepts relative input, say in percent, the integer > version expects absolute pixel size. I thought it?s a good idea, to call > all such methods by the same name, stressing the compiler?s overload > feature a bit.
Not a good idea: _) Anyway, maybe your original problem is related to what happens if the argument type it is not extended or integer, and the argument type can be converted to both. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal