Funny that Delphi compiler does not allow this:
procedure TestX(x1: double; x: array of double); overload;
procedure TestX(x1: single; x: array of single); overload;
Calling either of the versions results in:
Error 266. Ambiguous overloaded call to '<name>'
There is no ambiguouty. I guess open array parameters are just not allowed
in procedure overloading.
Janez.
--
Bjoerge Saether
Consultant / Developer
Asker, Norway
bsaether....@online.no (remove the obvious)
Janez Makovsek skrev i meldingen <87e3pm$20i$1...@strelovod.uni-mb.si>...