[fpc-pascal] parameter names local, global, glocal

Wolfram Kläger wolfram.klaeger at web.de
Thu Jan 19 00:18:50 CET 2006



Jonas 18.01.06 21:30:58:

> ... This error should not be reported if you switch to Delphi mode.

Unfortunately no. This kind of errors ís reported by FPC, no matter which mode, while Delphi does not. 

I understand your explanation, but don´t really understand that an anyproc.anyparam.name can eventually mask an anyclass.anyproperty.name. Even more, since several procedure or function declarations within a class or unit can share the same parameter names. In Delphi and FP as well.

Wolfram



More information about the fpc-pascal mailing list