If not will this be possible in R3 ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes and No.
Technically, no…..Functions do not have names, they are anonymous. The same function may be assigned to more than one word, so the actual name is problematic.
In practice in some cases, Yes….You can grab the current name (if there is one) with a trick: capture an error, and the error object contains the name on the stack:
Try it:
There is an exhaustive discussion here:
http://www.rebol.org/ml-display-thread.r?m=rmlGLPJ