Quoting "Bosky, Dave" <[EMAIL PROTECTED]>:
> 
> Is there any benefit or performance difference when scoping local
> variables or is it mainly used for readability?
> <cfoutput>#Variables.myLocalVariable#</cfoutput>
> <cfoutput>#myLocalVariable#</cfoutput>

There might be a minute performance increase, but the main reason is
that it avoids ambiguity.

Jochem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to