Just ran it and it gives me lots of comma’s. I filled your variables with the variable name to get some output in the file and I get a comma separated file just fine (besides from the date and the first var not being separated by a comma).
What OS and kix version are you using?

Quote:


2006/02/14sp1c,sp1d,sp1c,sp1d,sp2c,sp2d,sp2e,sp4c,sp4d,sp5c,sp5d,cap11c,cap11d,Even more stuff to write,



_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.