Purpose
Reads from an open text file on the FCAS computer until the end of the current line and returns the result as a string.
This makes text parsing much easier and allows for faster reading of text-based data into FCAS variables.
Syntax
File.ReadLine (MaximumBytesToBeRead)
Example
Dim MyFile as File
MyFile.OpenFile ("c:\autoexec.bat", fcRead)
print "The first line of your autoexec.bat file is:" &
MyFile.ReadLine(1024)
MyFile.CloseFile
|