www.icetips.com  Icetips Utilities Documentation 7/6/2014    

String Class:  DumpLinesInQ

Previous  Top  Next  


Prototype: (Queue pQ, *? pLineField, <*? pLineLenField>)

 

pQThe queue to put the fields in.  This would normally be a local queue in a procedure
pLineFieldThe field to take the contents of the OL field
pLineLenFieldThe 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)

 



Direct link to this page: http://www.icetips.com/manuals/utilities/dumplinesinq_stringclass.htm