So I'm reading this guide and it's really helpful!

http://www.iknowkungfoo.com/blog/index.cfm/2007/8/22/Object-Oriented-Coldfusion--1--Intro-to-Objectcfc

In my reading, I came upon an example similar to this:

<cfset qUsers = object.getallusers()>

<cfoutput query="qUsers">
   ...
</cfoutput>


Would it be possible to do this instead:

<cfoutput query="object.getallusers()">
   ...
</cfoutput>


It just seems like a neat way to avoid involving an extra variable if 
you don't need it.  Would it work?

thanks!
Mike

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:319097
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to