|
Previous Top Next |
Prototype: | (String pFileName),Long |
pFileName | Name of (text) file to read into lines |
Returns | Integer value containing the number of lines read into the Lines property. |
This method calls the FileToLines method, it's just a different naming convention matching the WriteQToFile.
Example:
Fn CString(2049)
I Long
L Long
ITST ITStringClass
Code
Fn = 'c:\temp\textfile.txt
If Exists(ShortPath(Fn))
L = ITST.ReadFileToQ(Fn)
Loop I = 1 To L
ITST.ODS(Format(I,@n4) & ' ' & ITST.GetLine(I))
End
End
See also: