Generate a text file with the content of a queue


#1

HELLO, YOU COULD HELP ME GENERATE A TXT FILE WITH THE CONTENT OF A QUEUE. Thank you


#2

You can look in the free debuger class on @MarkGoldberg github repository.
It has an example of dumping a queue to a text file. Search for the DumpQue method.


and


#3

another alternative is to spit out the queue to a CSV file which can be viewed in Excel.

Alan Telford wrote an article on this and provided the code in David Harms’ Clarion Magazine in February 2003. Dave has kindly made an archive of the magazine freely available.

go to

https://clarionmag.jira.com/wiki/spaces/archive/pages/399452/ClarionMag+monthly+PDFs+and+source+ZIPs+2003

and download the article and code for February.

There was a later version that handled fields with dimensions (arrays).

Just found it - November 2006.

https://clarionmag.jira.com/wiki/spaces/archive/pages/399449/ClarionMag+monthly+PDFs+and+source+ZIPs+2006

hth

Geoff R


#4

The code in the Debuger class was adapted from Alan Telfords ClarionMag article


#5

I probably should add that if you have StringTheory there is SerializeQueue which will do what you want with one call:

https://www.capesoft.com/docs/StringTheory3/StringTheory.htm#SerializeQueue