[REBOL] Re: Confused???
From: edanaii:cox at: 14-Jul-2002 13:47
Gregg Irwin wrote:
>It's a combination of FORALL and REMOVE that's trippnig you up. FORALL steps
>through the series (you can see the source for it BTW. It's a mezzanine)
>using NEXT and REMOVE returns the series at the location *after* the remove,
>so you're skipping every other element when you combine them.
>>>b: [1 2 3 4 5 6]
>== [1 2 3 4 5 6]
>>>forall b [print first b remove b]
Well it kinda helps. It tell's me why. But it don't tell me how to fix
the problem. :)
So what do you recomment I use to parse a mailbox if not ForAll? ForEach
won't work, unless I'm using it wrong. Which is quite possible.
Sincerely, | Tell me, tell me, where I'm going; I don't know
Ed Dana | where I've been. Tell me, tell me. Oh won't you
Software Developer | tell me, and then tell me again! My body's aching,
1Ghz Athlon Amiga | my heart is breaking and I don't know where to go!
| So tell me, tell me, why don't you tell me? I just
| gotta know! - Styx, Crystal Ball