|
Previous Top Next |
Prototype: | (Queue pQ, *? pLineField, <*? pLineLenField>) |
pQ | The queue to put the fields in. This would normally be a local queue in a procedure |
pLineField | The field to take the contents of the OL field |
pLineLenField | The field to take the contents of the Len field. |
This method loops through the Lines property queue and adds each record to the passed queue, using the reference to the line and length fields.
Example:
ITS ITStringClass
Q Queue
L String(1024)
End
Code
ITS.ReadFileToString('C:\temp\textfile.txt')
ITS.SplitString(ITS.FileString,'<13,10>')
ITS.DumpLinesInQ(Q,Q.L)