str FileRead(int)
Reads the next line in a text file opened with FileOpen. The only parameter should be the file handle returned by FileOpen.
#define FileHandle
#define FileLine
#sub ProcessFileLine
#define FileLine = FileRead(FileHandle)
#pragma message FileLine
#endsub
#for {FileHandle = FileOpen("c:\autoexec.bat"); \
FileHandle && !FileEof(FileHandle); ""}
\
ProcessFileLine
#if FileHandle
#expr FileClose(FileHandle)
#endif