|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 OpenArrays Procedures and Functions StoreArray|
The function StoreArray stores the data of the array Arr in the file specified by the parameter FName. The parameter Comment may contain any single-line comment which is stored with the data. Please note that any control characters in the comment are automatically removed before storing it (in order to ensure that the comment is a single line).
The data matrix is stored as a text file using full floating point precision (15 digits). The first line of the file contains the version number, the second line the comment and the third line contains the number of columns and rows (separated by a blank). The following lines contain the data values.
As an option for three and four dimensional arrays (overloaded versions , ,  and ) you can set the parameter InsertIndices to TRUE. This forces the function to insert the layer and time slot indices into the data file. Please note that this is mainly for debugging purposes and should not be used on regular cases. Versions  to  and  to  do not write any indices on the file and are the preferred versions if the stored data should be loaded from disk later.
The function resturns the following error codes:
0 ... everything is OK