Statistica Visual Basic Library of Matrix Functions - MatrixReadFromDataFile (FileName$, ?FirstCase, ?FirstVar, ?NoOfCases, ?NoOfVars, Matrix)

Parameter Description
FileName$ name of source Statistica datafile
?FirstCase number of first case from data file to read (0 = first case)
?FirstVar number of first variable from data file to read (0 = first variable)
?NoOfCases number of cases to read from data file (0 = all remaining cases in source file or destination matrix, whichever is smaller)
?NoOfVars number of variables to read from data file (0 = all remaining variables in source file or destination matrix, whichever is smaller)
Matrix name of data matrix (see Arrays in functions)

The MatrixReadFromDataFile function will read the specified Statistica datafile into the array Matrix (see Arrays in functions). If the defined matrix is larger than the contents of the data file, the unused cells are set to 0. If the defined matrix is smaller than the contents of the data file, the extra cases and/or variables are ignored.

Related topics
MatrixRead, MatrixCopy, MatrixWrite, MatrixSetColumn, MatrixSetDiagonal, MatrixSetRow, MatrixFill, MatrixExtract. For more information on using arrays, see Arrays in functions. For a complete list of matrix functions, see Statistica Visual Basic library of matrix functions.