March 2003
Intermediate to advanced
512 pages
14h 30m
English
TextStream.ReadAll Method
oTextStreamObj
.ReadAllA String.
R
Reads the entire file or input stream into memory.
For large files, use the ReadLine or Read methods to reduce the load on memory resources.
Files opened for writing or appending can’t be read; you
must first close the file and reopen it using the ForReading constant.
When used to read the standard input stream from the keyboard, the ReadAll method pauses program execution and polls the keyboard until the AtEndOfStream symbol is encountered. For this reason, the ReadAll method should not be executed repeatedly in a loop.
Read now
Unlock full access