Sign in Join
FPDoc Onlineexperiment

TPascalCodeGenerator.SaveToFile procedure

Member of TPascalCodeGeneratorpublicIn unit PasCodeGen

Save generated source code to file

Declaration

pascal
procedure SaveToFile(const AFileName: string)

Arguments

AFileName

Filename to save to

Description

SaveToFile saves the generated source code to the specified file. If no output unit name is set and the source is empty, it automatically sets the output unit name based on the filename.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.