Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Hack

From: rotenca::telvia::it at: 27-Dec-2001 1:34

I have found a not so standard method to find the funtion name and the code inside a function. It works also if the funtion name is local: hackme: func ["hackme" /local myself] [ error? err: disarm try [2 / 0] myself: get in err 'where print [ "my name is:" myself "^/my body is:" mold second get myself "^/my spec is:" mold third get myself ] ] x What do you think of this method? Can be considered valid in all the situations? --- Ciao Romano