#foo.goo# is acceptable. I, personally, explicitly scope every variable: <cfset VARIABLES.foo = APPLICATION.foo.moo() />
#VARIABLES.foo.goo# We also have an extremely high traffic, high utilization application, so explicitly scoping every var helps us keep memory in check (plus makes maintaining the code easier). Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com On 6/15/2009 9:22 AM, Chad Gray wrote: > Say you defined a local variable like this on a CFM page and it returns a > query object: > > <cfset foo = application.foo.moo()> > > Should I write out my variables like this when I out the query object? > > #variables.foo.goo# > > Or is this sufficient? > #foo.goo# > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323504 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

