(buffered | unbuffered) file string-expression or has (buffered | unbuffered) or with (buffered | unbuffered)
buffered causes buffering to occur on the named stream. That is, data for that stream will be collected until the buffer is full, then sent all at once.
buffered is the default setting on all operating systems for all inputs and outputs except
unbuffered causes data to be written to or from an external stream without buffering. That is, text written to an unbuffered stream is immediately output.
As modifiers in opening or reopening a file,
unbuffered may be set as follows:
open foo with unbuffered with binary-mode as file "foo.txt"or combined using
andwith brackets as follows:
As modifiers to a file name where a string expression could be used, the two types of modifiers can be set simply as follows:
do scan unbuffered binary-mode file "scan-me.txt"