One other note - we were not talking about function names themselves,
but pointers to functions. Such as:
<cfset newfunction = oldfunction>
Sammy Larbi wrote, On 12/8/2006 9:25 AM:
Interestingly, Per Djurner and I were talking about that very issue
just yesterday. His solution, which I thought was awesomely creative,
was to throw an error, find the line number of your <cfset>, read the
file, and find the variable name. Well, something basically like
that, except we were talking about function names. However, it would
still work with variables, since the concept is the same.
Now, we both realize we'd like to see a better solution, but it works
for the time being (unless of course, you are trying to distinguish
between more than 1 on the same line).
-Sam
Ed Griffiths wrote, On 12/8/2006 8:40 AM:
Hi
Quick question. If you store an object in a variable like this:
<cfset myObject = createObject("component","testObject").init()>
Is it possible to interrogate some method or metadata associated with
testObject in order to find out what variable name it has been stored
within
(myObject in this case)?
Thanks for your help,
Ed
You are subscribed to cfcdev. To unsubscribe, please follow the
instructions at http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, please follow the
instructions at http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at
http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]