StrFromFile(FileName$, FromLine, NumOfLines)
Description
This will load the entire file FileName$ (or just single line) to string variable. FromLine is the number of line from which will be file loaded and NumOfLines is a number of lines that will be loaded. If NumOfLines=-1, it will load entire file. If NumOfLines=-1 and FromLine>0 then it will load rest of file from the line determined by FromLine
Code Examples
file$='c:\temp\test.txt'
fromline= 1
numoflines=10
ReturnStr$=StrFromFile(file$,fromline,numoflines)
**Returns first 10 lines from test.txt