TPascalCodeGenerator.AddLn procedure
Add line to source code with current indentation
Declaration
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)Arguments
aLine | Single line to add |
TheLines | Multiple lines to add |
Fmt | Format string |
Args | Format arguments |
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
