Possible Duplicate:
Code documentation for delphi similar to javadoc or c# xml doc
I want to start documenting a very large Delphi application, which currently has no documentation whatsoever. My coworker suggested a javadoc type documentation style because we can then run an automated program to create nice documentation which is searchable and looks pretty.
(* Description of the function
@param S some string
@param Index the index of string s
@retval TRUE condition where it is true
@retval FALSE otherwise.
@see IndexOf
@see Sort
@see Sorted
*)
bool Stringlist::Find(const char *S, int &Index)
{
[...]
}
Is this the best way I can accomplish meaningfull documentation for my project? If so what is a good program to handle these types of comments . So far I have had Doc-O-Matic recommended to me.
If it is any use the program is very old, it has been constantly developed since 1993 or so and has gone though many different authors, many different styles, IDEs, standards, etc.