setReader
Help Contents
Communication
File opening
setReader
setReader filename
setReader anintarray
setReader anint16array
command. Makes the named file, anintarray or anint16array the read stream, used for readList, etc. The file must already be open with openRead or openUpdate. If the input is the empty list, then the read stream becomes the terminal, as usual. Changing the read stream does not close the file that was previously the read stream, so it is possible to alternate between files.
See also: openRead, setWriter, readIntBin
Examples:
References:
openReadBin(2), openUpdate(2), playWaveFast(2), readListFlat(2), readListFlatLine(2), readListFlatRaw(2), readRawLine(2), setReaderPos(2), setWriter(2), Release Notes for Version 4.67, openRead, readListFlatTags