Well MY question is the former of the two that you mentioned.  I'm especially 
interested in what is recommended inside UDFs and CFCs as this earlier example was 
trying to show (I believe Barney wrote this):

<cffunction name="getlist">
  <cfset var get = "" />
  <cfquery name="get" datasource="#variables.my.dsn#">
    SELECT *
    FROM myTable
    ORDER BY name
  </cfquery>
  <cfreturn get />
</cffunction>

-nolan


-----Original Message-----
From: Christian Cantrell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 10:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] How should I define variable in a CFC?


On Feb 11, 2004, at 12:12 PM, Nolan Erck wrote:

> Not that I'm not enjoying the rest of this thread, but did this 
> particular poitn ever get answered officially?  I'd really be curious 
> to know if I should "scope" code like this.

I don't think I can tell what the original question is anymore.  Is it 
whether or not we should be scoping "tag" scopes like CFQUERY, or 
whether all other variables should be scoped.  The answer to the latter 
is yes, but I'm not sure about the former.  If this is indeed the 
question at hand, I can get it answered.

Christian

----------------------------------------------------------
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]

Reply via email to