Next: , Previous: Compiling and Installing Txt2FPDoc, Up: Top


3 Documenting Your Code

This section will teach you how to use Txt2FPDoc to document your code. To achieve this goal we will write a documentation file for the following unit:

     Example: myunit.pas  
      1  unit MyUnit;
      2
      3  interface
      4
      5  function Max(A, B: Integer) : Integer;
      6  function Min(A, B: Integer) : Integer;
      7  function Multiply(A, B: Integer) : Integer;
      8
      9  implementation
     10  end.