Just to be clear, are you saying that something like this works?  I
know it doesn't on CF6.1; perhaps that's different on CF7 (though I'd
be surprised)?

<cffunction name="test">
  <cfargument name="arg1" />
  <cfset var var1 = "test" />
  <cfreturn arguments.var1 />
</cffunction>

Or were you not actually looking for local variables, but rather for
arguments, and the fact that you can't reference local vars by a scope
is irrelevant?  Not to criticize your question, just want to make sure
all the facts are straight.

cheers,
barneyb

On 8/19/05, Damien McKenna <[EMAIL PROTECTED]> wrote:
> > Nope, those variables don't exist in any kind of container.  At least
> > not a CFML-exposed one.  And be aware that arguments are DUPLICATED
> > into the local variables scope, and still exist in the 'arguments'
> > scope, as separate variables.
> 
> Ah, perfect, I did a test and can reference everything via 'arguments'.
> Groovy.
> 
> --
> Damien McKenna - Web Developer - [EMAIL PROTECTED]
> The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
> #include <stdjoke.h>
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215813
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to