On 6/12/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> You declare local variables in a function so that they don't clobber any
> variables with the same names in the script that calls the function.

That's for UDFs. For methods in CFCs, you var-declare local variables
so they don't clobber any variables with the same names in the
VARIABLES scope of the component itself.

(I know Dave knows this - I'm just clarifying for folks reading who
might not appreciate the difference)
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280808
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