[REBOL] Re: Retrieve function name
From: peter:carlsson:space:se at: 25-Oct-2001 10:45
At 00:01 2001-10-25 +0200, you wrote:
Hello Andrew!
>Would something like this help?
>
> >> profiler: func ['f [word!]][
>[ print [">" f]
>[ probe get f
>[ print ["<" f]
>[ ]
> >> profiler transpose
I will try this as soon as soon as I have the time.
But, my first reaction is that it is not within the profiler
function but from the calling function that I need to retreive
the name. So unfortunately this is not what I requested.
My solution (to explicit write the function name) works but
it would be a lot more convenient if what I request would work.
>I hope that helps!
Thanks for ideas!
Best regards,
Peter Carlsson
----------------------------------------------------------------
Peter Carlsson Tel: +46 31 735 45 26
Saab Ericsson Space AB Fax: +46 31 735 40 00
S-405 15 Göteborg Email: [peter--carlsson--space--se]
SWEDEN URL: http://www.space.se