Ok... I have a function that returns a name of something.  However, a client
has asked me to be able to duplicate these functions, but still get
different results so:

Function myfunc() {
        return 1;
}
A.func = myfunc;
B = duplicate(a);
C = B.func();
D = duplicate(a);
E = D.func();

Problem is, how do I find info out about the structure that the function is
a part of?  In other words, if I call:

A.func()

How can I find out the value of a.name without explicitly naming the
variable "a"?

Paul
-----------------------------------
Paul Johnston
PJ Net Solutions Ltd
http://www.pjnetsolutions.com
[EMAIL PROTECTED]
+44 (0)7866 573013



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to