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....



ImportASC


Unit:SDL_math2
Class:TCurveFit
Declaration:function ImportASC (FName: string): integer;

The function ImportASC loads the data which has been stored previously by the method ExportAsASC. The parameter FName specifies the name of the data file. ImportASC returns a TRUE value, if the data has been successfully read from the disk.

Hint: The function ImportASC can be used to read any external data. The only prerequisite is to use the correct format of the data file, which has to have exactly 2 columns.

Example: This method is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): curvefit



Last Update: 2007-Mai-19