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

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