[fpc-pascal]My object function is overriding real function

Peter Vreman peter at freepascal.org
Thu Feb 19 07:37:39 CET 2004


> procedure TFestival.Close();
> begin
>     close(sin);
>     close(sout);
>
>     Close := 0;
> end;
>
> I realize that I can simply rename my close procedure but I imagine that
> I will run into similar situations as I continue to use Free Pascal.

Use explicit namespacing: System.Close(sin)






More information about the fpc-pascal mailing list