www.icetips.com  Icetips Utilities Documentation 1/25/2016    

String Class:  WriteQToFile

Previous  Top  Next  


Prototype: (String pFileName, <String pDel>)

 

pFileNameName of the file to write the queue of Lines to.
pDelOptional delimiter to use as End-Of-Line string.   Added 2015-09-12

 

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('3430 E Highway 101, Ste. 28')

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

3430 E Highway 101, Ste. 28

Port Angeles, WA 98362

 

 

See also:

Lines

WriteStringToFile

 



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