|
Previous Top Next |
Prototype: | (String pFileName, <String pDel>) |
pFileName | Name of the file to write the queue of Lines to. |
pDel | Optional 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: