[REBOL] Re: Composing a function from string
From: tim:johnsons-web at: 1-Dec-2001 17:54
On Sat, Dec 01, 2001 at 11:47:41AM -0600, Paul Tretter wrote:
> 'Do can perform that.
>
> >> hold: "myfunc: func [x][print x]"
> == "myfunc: func [x][print x]"
> >> do hold
> >> myfunc "hello"
> hello
> >>
>
> Paul Tretter
Hi Paul: Thank you. (Should have typed 'help do)
for some reason had been assuming 'do just worked on
a block.
Perhaps I'm having false memories here (its possible),
but it seemed that there was different implementation
or solution to this also, in the thread that I think
I remember.
Regards
Tim
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
> Tim Johnson
> Sent: Saturday, December 01, 2001 11:05 AM
> To: [rebol-list--rebol--com]
> Subject: [REBOL] Composing a function from string
>
> Hello All:
> Not long ago, I saw a short thread that mentioned
> that one could dynamically create a rebol function from
> a string.
>
> Does anyone have information on that? Either the
> thread or some ideas?
>
> Thanks
> Tim
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com