Yep, that worked. Thanks to both answers with this workaround.

 

 

-Brian


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Davis
Sent: Thursday, November 10, 2005 3:03 PM
To: [email protected]
Subject: RE: [CFCDev] Scoping Error

 

You might also create a pseudo scope to get around this.

 

I do <cfset var local = structnew() /> at the top of every method.  Then later instead of doing “<cfset var sFacade …. />” you can do “<cfset local.sFacade … />”

 

Doing this also offers the benefit of being able to dump the local “scope” for debugging.

 

Jim Davis



******* Confidentiality Notice *******
This email, its electronic document attachments, and the contents of its website linkages may contain confidential health information. This information is intended solely for use by the individual or entity to whom it is addressed. If you have received this information in error, please notify the sender immediately and arrange for the prompt destruction of the material and any accompanying attachments.

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.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' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to