Now I confused!!
I thought that if you didn't scope a variable within a function it
was, by default, in the 'variables' scope and available outside the function
and bad things could happen. Which his why you always scope internal
variable in the 'var' scope.
Walt
-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 6:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Unscoped references in CFSET within CFFUNCTION
On Mar 19, 2004, at 2:48 PM, Stephen Milligan wrote:
> Now you have CFCs which bring with them the combination of VARIABLES,
> ARGUMENTS and un-named local scope.
Be warned that there are *two* unnamed scopes: the 'var' local scope
and the implicit 'variables' scope which is non-public instance data.
Regards,
Sean
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]