Function to read and return a line of text from an ASCII file
The FREAD() function reads and returns a line of text from the specified ASCII file. The ASCII file is specified by the file handle <expN1>. The file handle is created when the ASCII file is created with the FCREATE() function, or opened with the FOPEN() function. The FREAD() reads a line of text from the current position of the file pointer. You must specify the number of bytes to read from that position with the numeric expression <expN2>. The number of bytes may be from 0 to 254.
fp = fopen("names.txt") ?fread(fp,80) Smith,Bill fclose(fp)