DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


ImportASC

Declaration:TVector.ImportASC (FName: string; var Comment: string): integer;
The method ImportASC reads the data from a specially formatted ASCII text into the data vector. The size of the vector is adjusted automatically to fit the data on the ASCII file.

The function returns the following error codes:

 0 ... no error
-1 ... error in specification of number of features
-2 ... error in specification of number of objects
-3 ... error in ClInf/NamFeat/NamObj flags
-4 ... file probably in UNIX format
-5 ... invalid class information
-6 ... invalid numeric data
-7 ... the ASC file has more than one column
-8 ... file not found