The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack DataTable Methods ExportAsCSV | |||||||||||||
See also: ImportFromCSV, TCSVDelimiters, ExportAsASC | |||||||||||||
ExportAsCSV |
|||||||||||||
The method ExportAsCSV writes the contents of the data table along with optional additional information (headers, etc.) to the CSV file FName. The parameter Precision controls the number of significant digits used for storing the data. The delimiting character is specfied by the parameter Delimiter. If Delimiter is set to csvUnknown it defaults to csvComma. The parameters IncludeColHeaders and IncludeRowHeaders control whether the column and row headers are exported, as well. Nominal and ordinal values are exported using their nominal identifiers. The second overloaded version of the method provides the extra parameter IncludeRowAttributes which controls whether the row attributes are exported as well. The third version provides the additional parameter IncludeComment which determines whether the comment of data table is included in the CSV file. The method returns an error message string if any problem occurs during opening the file (e.g. 'file access denied' for read-only files).
|