View Single Post
Old 07-17-2003, 05:59 AM   #1
Tamsyn@zebedee.org
New Member
 
Join Date: Mar 2003
Posts: 23
Tamsyn@zebedee.org is on a distinguished road
OK, for you advanced LPC coders:
If I have a global string variable, say 't' in an object, I can
reference it's value within a closure:

f = lambda( ({}), ({#'write,({#'t}) }) );
funcall(t);

This will do write(t);
My question: Is it possible to dynamically specify/bind the name of the variable. I've tried various ways of using symbol_function() and quote() with no success, and my gut feeling is that it isn't possible.
Anyone have the definitive answer?
Tamsyn@zebedee.org is offline   Reply With Quote