Back on the original subject, the spec for Borlands version of overloads
are just
awful. Virtually any difference in type between overload parameter lists
is accepted
as a valid overload. For example, two subranges of integer are accepted,
which is
clearly an ambiguous overload. Borland "resolves" this by calling the
procedure or
function with the smallest integer range. Thats a recipe for fairly
incomprehensible
behavior for the user.
--
Samiam is Scott A. Moore
Personal web site: http:/www.moorecad.com/scott
My electronics engineering consulting site:
http://www.moorecad.com
ISO 7185 Standard Pascal web site:
http://www.moorecad.com/standardpascal
Classic Basic Games web site:
http://www.moorecad.com/classicbasic
The IP Pascal web site, a high performance, highly portable ISO 7185 Pascal
compiler system:
http://www.moorecad.com/ippas
Good does not always win. But good is more patient.