Purpose
Reads from an open text file on the FirstClass server 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
ServerFile.ReadLine (MaximumBytesToBeRead)
Example
Dim sf as ServerFile
sf.OpenFile ("c:\autoexec.bat", fcRead)
print "The first line of your autoexec.bat file is:" &
sf.ReadLine(1024)
sf.CloseFile
|