There is two way to work with this new TAG : in a block
comment with the @comment TAG, or with the Inline Extended comment
inside a method or function.
@comment text
Adds an "additional comment" subheading with the specified
text to the generated documentation. Use this TAG to add other
information to the Unit, class, method or function.
*Inline
Extended comment
Adds an "additional comment" subheading with the specified
text to the generated documentation. Use the Inline TAG as Description
TAG but inside a method or function. The default syntex is Double
Slash + the JavaDoc Prefix for Inline.
This syntax is usefull to add algorithm of method in the code
and in the documentation.
|
{*---------------------
Test ClassProcedure !
----------------------}
procedure TNewClass.ClassProc;
begin
if ((Attr and FileInfo.Attr) <> 0) and
SameText(ExtractFileExt(FileInfo.Name)
,PAS_FILE_EXT) then
Inc(i);
end;
|
|