|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 Matrix Classes TIntMatrix, TMatrix and TMat3D Methods ImportASC|
|See also: ExportAsASC, Format of ASC data file|
The method ImportASC reads the data from a specially formatted ASCII text into the data matrix. The size of the matrix is adjusted automatically to fit the data on the ASCII file. If ImportASC is called as a member of TIntMatrix, the values on the file are rounded when reading them. In addition to reading the matrix data version  also reads the custom data which have been stored using version  of ExportAsASC. The parameter CustData returns the custom data as a two-dimensional string array containing the names of the custom data in the first column and the corresponding values in the second column.
The function returns an error code with the following meaning: