[REBOL] Re: 'word...
From: mario:cassani:icl at: 30-Jan-2002 16:08
Ciao Alessandro,
> mhmmm....
>
> this is a function.... when I supply the arguments I must call this
> function as follows:
>
> show-panel myPanel
>
> but I cannot! Since Rebol tries to elaborate "myPanel" word!
> therefore
> I must the function as follows:
>
> show-panel 'myPanel
>
> and... the problem is the same: the function does not... fuction.
>
I am not sure I understood but, maybe, what you are tring to do is this:
single: does [print "a"]
double: does [print "a" print "a"]
hooked: func [
the-value
the-function
] [
print the-value
the-function
]
hooked "a" :single
hooked "a" :double
if not, please send directly to me a mail written in Italian... :P
word: - assigns a value to 'word
word - evaluates the 'word
:word - passes the value of 'word directly
Mario