No. However, if you need to introspect local variables, simply use a scope:

<cfscript>
function doTheCasBah() {
  var local = structNew();
  local.x = 1;
  local.y = 2;

At this point, if you wanted to know all local variables, you could
simply structKeyList local. You just need to be anal about ensuring
you always use the local structure for your variables. Don't forget
that some tags out there will write out their own variables, like
cfquery, cfhttp, etc. Luckily, CFMX7 allows you to specify a variable
name for their results.


On 8/18/05, Damien McKenna <[EMAIL PROTECTED]> wrote:
> Is there an easy way to access all of the local variables in a UDF, e.g.
> "this" or something?
> 
> --
> Damien McKenna - Web Developer - [EMAIL PROTECTED]
> The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
> #include <stdjoke.h>
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:215695
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to