Re: How print sequence of comma delimited numbers, in ROWS?
- Posted by DanM Jan 22, 2009
- 827 views
Thanks Matt, I'd hoped to post a <slapping self on head>, "never-mind", before anyone took the time to consider the question, as it finally occurred to me I'd just have to do it comma by comma instead of the whole thing at once. I already had run the sequences through some code to insert the spaces, but I was so focused on spitting the whole thing (or one line at a time) out at once that I never thought to just do the output one comma at a time along the line.
I like how you made a sequence of the extents, and I usually don't think to use sprintf much, so I had to look twice to see how your pseudo-code referenced commas, but I see it now, thanks!
I think (hope!) I learn some by seeing how actual programmers write code!
Dan