Sign in Join
FPDoc Onlineexperiment

TCSVDocument.SaveToFile procedure

Member of TCSVDocumentpublicIn unit CsvDocument

Save to file on disk.

Declaration

pascal
procedure SaveToFile(const AFilename: string)

Arguments

AFilename

File to write the CSV data to.

Description

SaveToFile creates a file stream from aFileName and calls SaveToStream to actually write the CSV data to the file.

Errors

If the file cannot be created or cannot be written to, an exception will be raised.

See also

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