Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.220 fileread

fileread, lun, array, start, num, type

Reads raw data from a file opened on logical unit lun into the array (whose prior contents are discarded), starting at start position start in the file (measured in units of a data value) and reading num data values. The data values are assumed to be of the indicated type (as from #type), and the array will be changed to that type. If start is negative, then data is read from the current position in the file.

See also: filewrite, #type, openr