Writing a list of values to a spreadsheet in ColdFusion 9

Word Count: 190

So I have a comma delimited list of emails. I want to take this list and write it to a spreadsheet. The first thing I am going to do is create a component that I can reuse throughout my application named email list writer. The components write method will take a list of emails and an absolute filename.

Now that was pretty easy. If we wanted to serve this up to our users as a download we could do this.

Comments

#1 Posted By: Henry Ho Posted On: 12/16/09 1:22 PM
I've always used i++ in a loop. I thought in C/C++/Java, ++i will cause i=2 in the first iteration?
#2 Posted By: Leigh Posted On: 12/16/09 8:43 PM
I prefer the post increment style as well. But given the order of evaluation, I do not think it makes a difference in CF/java.


Post Your Comment

Leave this field empty







Show Captcha

If you subscribe, any new posts to this thread will be sent to your email address.

Copyright © 2007 Dan Vega | BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.