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


SaveArray

Declaration:T2DArrayStack.SaveArray (ix: integer; FName: string): integer;
The function SaveArray retrieves the array stored on the stack at the index ix and stores it as a binary file. The name of the file is specified by the parameter FName. The parameter ix can assume values between 1 and NumEntries. The stack is not changed at all (in contrast to the PopToFile method).

Returned error codes:

 0 ... everything is OK
-1 ... the parameter ix is out of range