is there a function like FileToArray() that can start
at some arbitrary offset into a file, e.g. start at line # xx
of an ascii csv file?
it seems FileToArray() can do a variable length, but always
starts at the beginning of the file?
--------------
int status = FileToArray (char *fileName, void *array, int dataType,
int numberOfElements, int numberOfGroups, int arrayDataOrder, int
fileLayout, int fileType);
Purpose
Reads data from a file into an array. You can use FileToArray with
files you create using the ArrayToFile function. FileToArray handles
creating, opening, reading, and closing the file.
Parameters
Input
Name Type Description
fileName string File pathname.
dataType integer Array element data type.
numberOfElements integer
Number of elements in the array.
numberOfGroups integer Number of groups in the array.
arrayDataOrder integer How to order groups in the file.
fileLayout integer Direction to write groups in the file.
fileType integer ASCII/binary mode.
Output
Name Type Description
array void* Numeric array.
Return Value
Name Type Description
status integer Indicates success or failure.