[REBOL] Re: Reflectivity: How a function can know its own name ?
From: g:santilli:tiscalinet:it at: 28-Mar-2002 21:43
Hi Romano,
On Wednesday, March 27, 2002, 3:13:08 PM, you wrote:
RPT> 2) writing the func to be aware of itself (not of its name), with something
RPT> like this:
[...]
...and once you have 'SELF, you can look up if name (if it's a
global) with:
pick first system/words index? find second system/words self
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r