Add comment to source code
Source position: pascodegen.pp line 95
public procedure TPascalCodeGenerator.Comment( |
const AComment: string; |
Curly: Boolean = False |
); |
const AComment: array of string |
); |
const AComment: TStrings |
); |
AComment |
|
Comment text |
Curly |
|
Use curly braces instead of double slash |
AComment |
|
Comment text |
AComment |
|
Comment text |
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.
|
Add line to source code with current indentation |