www.icetips.com  Icetips Utilities Documentation 12/1/2010    

String Class:  WriteQToFile

Previous  Top  Next  


Prototype: (String pFileName)

 

pFileNameName of the file to write the queue of Lines to.

 

This method writes the lines in the Lines queue to the specified file by allocating memory for all the entries in the queue, then creating a dynamic string which is then written to the file using the WriteStringToFile method. 

 

Example:

ITS  ITStringClass

S    String(1024)

Code

ITS.AddLine('Icetips Alta LLC')

ITS.AddLine('71 Cedar Glen Ln')

ITS.AddLine('Port Angeles, WA 98362')

ITS.WriteQToFile('C:\Temp\Test.txt')

 

This will write the records in the queue tot he C:\Temp\Test.txt file as:

 

Icetips Alta LLC

71 Cedar Glen Ln

Port Angeles, WA 98362

 

 

See also:

Lines

WriteStringToFile

 



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