TPascalCodeGenerator.AddLn¶
Add line to source code with current indentation
Declaration¶
Source position: pascodegen.pp line 91
public
procedure AddLn(const aLine: string);
procedure AddLn(const TheLines: Array of string = string);
procedure AddLn(const TheLines: TStrings);
procedure AddLn(const Fmt: string; Args: Array of const);
Description¶
AddLn adds one or more lines to the generated source code with the current indentation level applied. It supports adding single lines, arrays of strings, string lists or formatted strings. Each line is prefixed with the current indentation.
See also¶
| Name | Description |
|---|---|
| TPascalCodeGenerator.Indent | Increase indentation level |
| TPascalCodeGenerator.Undent | Decrease indentation level |
| TPascalCodeGenerator.Source | Generated source code string list |