Hi Tim,
>Will
>tims-object/print
>redefine rebol's own print?
>
Within tims-object print replaces the global print, which you can continue
to access using system/words/print
>> tims-object: make object! [
print: func [][
system/words/print "this is the global print."
]
]
>> tims-object/print
this is the global print.
Outside of the object's context print is not affected by your re-definition
of print in the object.
;- Elan >> [: - )]
- [REBOL] Return types Re: icimjs
- [REBOL] Return types Re: bhawley
- [REBOL] Return types Re:(2) dankelg8
- [REBOL] Return types Re:(3) icimjs
- [REBOL] Return types Re:(4) dankelg8
- [REBOL] Return types Re:(5) icimjs
- [REBOL] Return types Re:(6) dankelg8
- [REBOL] [REBOL] Redefining functions with object... tjohnson
- icimjs
