[fpc-pascal] Re: parameter names local, global, glocal
L505
fpc505 at z505.com
Thu Jan 19 00:40:59 CET 2006
>> Prefixing an 'A' seems to be an (un)official delphi naming convention
> Does this make it official?
> http://www.econos.de/delphi/cs.html#ObjectPascal_Procedures_Parameters
> <QUOTE>
> " The 'A' prefix is a convention to disambiguate when the parameter name
> is the same as a property or field name in the class. "
> </QUOTE>
Looks good, I'm not a fan of underscores in significant quantities, and should only
be used in special cases. In this case, I find the 'A' prefix is a neater solution
than the messy underscore hack.
More information about the fpc-pascal
mailing list