[fpc-devel]Method overloading

Jonas Maebe jonas at zeus.ugent.be
Tue Apr 29 17:06:30 CEST 2003


On dinsdag, apr 29, 2003, at 14:28 Europe/Brussels, Peter Vreman wrote:

> With overload you can also overload cross units:
>
> unit a;
> procedure test(s:string);

Don't you have to add "overload" here as well?

> unit b;
> procedure test(i:longint);overload;
>
> program c;
> uses b;
> begin
>   test('string');
> end.


Jonas




More information about the fpc-devel mailing list