Err, I assume by 'local' you really mean Variables? The answer is yes.
Consider this:

<cfscript>
function foo() { return 1; }
</cfscript>

<cfoutput>#variables.foo()#</cfoutput>


=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, January 30, 2002 8:22 AM
> To: CF-Community
> Subject: RE: UDF parameters and Scope
> 
> 
> > They are in the local scope by default. You can copy them to shared
> > scopes, like app or session, but that is NOT recommended. 
> You can also
> > copy them to the request scope, which is ok.
> 
> By "local scope", do you mean I can refer to them as local.varName?
> 
> I try to scope EVERYTHING, so there's no confusion...
> 
> Philip Arnold
> Technical Director
> Certified ColdFusion Developer
> ASP Multimedia Limited
> T: +44 (0)20 8680 1133
> F: +44 (0)20 8686 7911
> 
> An ISO9001 registered company.
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
> 
> 
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com

Archives: http://www.mail-archive.com/cf-community@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to