[Lazarus] Overloaded procedures

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Sep 17 17:00:56 CEST 2011


In my attempt to update the LCL documentation I came across overloaded 
procedures, like DbgS, with arguments of different type but same name. 
This disallows to document the procedures properly :-(

FPDoc creates only one entry for overloaded procedures (in the same 
unit), and lists all declarations there. Since only one description can 
be given, the parameters can be documented only in the declarations, and 
  only if they have different names.

Please watch for overloaded procedures, and use unique parameter names 
for every type.

DoDi





More information about the Lazarus mailing list