Did anyone notice that Alessandro's function is missing a square bracket?

        show-panel: func ['panelName] [
    should look like:
        show-panel: func ['panelName]] [
    Note the "extra" square bracket at the end.

Plus all the extra bits that the others found as well. :-)

Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-

----- Original Message -----
From: "Cassani Mario" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 5:08 AM
Subject: [REBOL] Re: 'word...


> 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
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to