setReader

Help Contents Communication File opening setReader
allOpen setWriter

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:

allOpen setWriter