TPascalCodeGenerator.SaveToFile¶
Save generated source code to file
Declaration¶
Source position: pascodegen.pp line 102
public
procedure TPascalCodeGenerator.SaveToFile(const AFileName: string);
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¶
| Name | Description |
|---|---|
| TPascalCodeGenerator.SaveToStream | Save generated source code to stream |
| TPascalCodeGenerator.OutputUnitName | Name of the output unit |
| TPascalCodeGenerator.Source | Generated source code string list |