[fpc-devel] Function variables and overload

Hans-Peter Diettrich DrDiettrich at compuserve.de
Sat Jul 2 10:57:05 CEST 2005


Bram Kuijvenhoven wrote:

> function MyOverloadedFunc:boolean; alias MyOverLoadedFuncNoParams;
> function MyOverloadedFunc(i:integer):boolean; alias MyOverLoadedFuncInt;

> Another note is that the 'alias' keyword might already be in use for some other purpose (I don't exactly remember which), so we might need another keyword or construction to give alias names.

I'd prefer the import syntax, using "name" instead of "alias".

DoDi






More information about the fpc-devel mailing list