Hi all,

no one,  but three solutions!

(1) From Andrew,  with compose/deep. Compose is the rebol pre-processor. I
need to re-read the rebol-zine about compose.

(2) From Joel, using forskip. It's a more direct one. I like this solution
but it's need copy/part.

(3) From Jeff, with bind!. I just can say: it's works!!. I agree with Chris
Palu about its esotherical look :)  It seems you can subtitute 'a with  'b
or 'c etc. but no with 'f or another letter. ( really esotherical to me),

(4) Andrew observe the dependency of first word of row in the Jeff's
solution, but fail in yours correction. I can't correct Andrew's intent
myself.
Are there an independent of 'a Jeff's solution type of solution ?

Thanks you all!
I enjoy reading the rebol-list.

Miquel




----- Original Message -----
From: "Andrew Martin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 13, 2001 8:49 PM
Subject: [REBOL] Re: foreach with block question


> Miquel Gaya asked:
> > How can I use foreach with a block ?
>
> >> do compose/deep [foreach [(row)] data [print [(row)]]]
> 1 AAA BBB 3 0
> 2 MMM XXX 1 1
> 3 DDD VVV 2 1
>
> Andrew Martin
> ICQ: 26227169 http://valley.150m.com/
> -><-
>
>
>
> --
> 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