YES!!!!!!!

Loop variables are without a doubt the MOST important variables to
'var' inside CFC methods (and UDFs as well), because the variable
names are used often and they're always the same.  Just think about
how many times you've used 'x' (or 'i', which is my preference) as a
variable name in your application.

cheers,
barneyb

On Fri, 3 Sep 2004 14:44:06 -0700, John Blayter <[EMAIL PROTECTED]> wrote:
> I am just wondering if you need to var the index of a CFLOOP inside a CFC?
> 
> So if I have
> 
> <cfloop list="#mylist#" index="x">
>    <!--- Loop stuff goes here --->
> </cfloop>
> 
> Do I need to have a <cfset var x = ""> to be thread safe?
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
----------------------------------------------------------
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]

Reply via email to