[REBOL] getting at it
From: hallvard:ystad:helpinhand at: 6-Feb-2002 14:51
I have the word 'to-display that I perform some checks on. In the example below, 'to-display,
as you can see, refers to the prin function. How can I make rebol tell me what type?
'to-display's reference is?
>> type? :to-display
>> mold :to-display
>> type? get :to-display
** Script Error: get expected word argument of type: any-word
** Near: type? get :to-display
I get nowhere with 'get. I believe this has got to do with the function being refered
to _within_ system/words, because it seems to work otherwise:
>> type? :prin
>> type? :system/words/prin
** Script Error: prin is missing its value argument
** Near: type? system/words/prin
Is there a way to 'get at system/words/prin (or other functions within paths), so that
I may look at the source or lookup its type?