Leigh, Peter,

Thanks for your comments.  All makes sense to me. If I can ask one follow-up on 
Peter's answer though.  I've recently started to work on CF9 and was using my 
cffunction techniques from the CF8 days.  i.e., 

<cfset var local = StructNew()>
<cfset local.myVar1 = "">
<cfset local.myVar2 = "">

...and I'm trying to make sure I'm doing the right thing on CF9 by doing the 
following instead:

<cfset var myVar1 = "">
<cfset var myVar2 = "">

<cfif myVar EQ ......

Is that correct CF9 approach to scoping vars within the CFC/cffunction?

Jerry 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346490
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to