|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 Math2 Class TCurveFit Methods ExportAsASC|
|See also: Format of ASC data file, ImportASC|
The method ExportAsASC writes the contents of the curvefit data (accessible via the properties DataX and DataY) to a readable ASCII file. The format of the text is the same as used by the method ImportASC.
The parameter FName specifies the filename (default extension ASC). The parameter Precision specifies the number of decimal places to be used in the text 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).