• Reference Guide


The parameter f is a variable of the type File. Alternatively, a file name (the fname parameter) of the String type can be specified. The function reads the entire content of the file, and returns it as a value of the Text type.
If the parameter is of the File type, the content is read from the current file pointer on. The file must be open for reading. On return, the file pointer is set to the end of the file.
If an error occurs, an Error value is returned.

See Also