cat • stream

Stream & Input/Output functions

CLOSE Closes a stream
Eof Returns TRUE if the end of the file has been reached.
ERROR Prints expressions to the error standard output.
ERROR TO Redirects the standard error output.
FLUSH Flushes the output of a buffered stream.
INPUT Reads strings from a text stream and converts them into values.
INPUT FROM Redirects the standard input.
LINE INPUT Reads lines from a text stream.
LOCK Locks a file path.
Lof Returns the length of a stream.
OPEN Opens a file for reading or writing and creates a stream for it.
OPEN MEMORY Creates a stream that allows to directly read binary data from memory, or write binary data to memory.
OPEN PIPE Opens a named pipe for reading or writing and creates a stream for it.
OPEN STRING Opens a string for reading or writing and creates a stream for it.
Since 3.5
OUTPUT TO Redirects the standard output.
PEEK Peeks bytes from a stream.
Since 3.15
PRINT Prints expressions to a stream.
READ Reads binary data or bytes from a stream.
SEEK Changes the position of the stream file pointer.
Seek Gets the position of the stream file pointer.
UNLOCK Unlocks an opened stream.
WRITE Writes binary data or bytes to a stream.

See also