[REBOL] Overloading rebol words Re:
From: al:bri:xtra at: 15-Sep-2000 17:47
> If I were to "overload" a rebol word in an object:
> example: print,
> then to prevent stack overflow,
> if I would to use print within that object, I
> would have to give the full "path" to the
> system native value of print.
> 1)How do I get that full path and where is the documentation on that.
> 2)Please, if anyone thinks that this is a bad idea, let me know before I
go and hurt myself :)
>> o: make object! [
[ print: does [
[ system/words/print "123"
>> print 1 + 3
Look, ma! I'm not hurt!