Advertising banner:

History
 
 File.Read
Home • Help • A0 • Customization Tools • FCAS • Language Reference • File.Read
 
Read (files)
Purpose
Attempts a binary read of bytes from a file on the FCAS computer.
The read data is stored in the Data attribute of the File object.
Syntax
File.Read (NumBytes)


NumBytes
If the end of file is reached before NumBytes bytes are read, the Read method stores the maximum number of bytes.

Example
MyFile.Read(100)
Print MyFile.Data