I am reading the cfcurriculum at 
http://www.adobe.com/education/instruction/teach/cfcurriculum.html
and have already picked up a nugget.

I didn't realize that cfquery returned two results, the name= attribute and the 
result= attribute.
I've always just returned the query in my functions, but now I'm considering 
returning both the query and the result info.

Q: What's the best way to return two structures from a function?
Should I return an array of structures or can I return the resultInfo in one of 
the arguments from the calling program?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320691
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to