TPascalCodeGenerator.Comment procedure
Add comment to source code
Declaration
procedure Comment(const AComment: string; Curly: Boolean=False)
procedure Comment(const AComment: Array of string = string)
procedure Comment(const AComment: TStrings)Arguments
AComment | Comment text |
Curly | Use curly braces instead of double slash |
Description
Comment adds comments to the generated source code.
It supports single line comments (using // or { }) and multi-line comments using curly braces.
For single strings, the Curly parameter determines the comment style.
For arrays of strings or string lists, multi-line curly brace comments are generated.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
