[REBOL] Re: RANDOM's & PICK's args
From: ryanc:iesco-dms at: 21-Jan-2002 9:49
The 'forall loop is perfect for such instances.
> I think I'm late on this list, but herein lies a question I need
> answered, too.
> > I was thinking that removing each string from balls, when picked, would
> > ensure that there were no duplicates, but I haven't tried yet. CLEAR,
> > & REMOVE are like using a chainsaw, therefore I presume REPLACE is needed
> > delete just one element from a series/block. How can REPLACE be used to
> > leave a blank string in the block, so that it can't be picked? This would
> > also affect RANDOM's range the way I am using it.
> My problem, usually, has been that when using a for loop on a series
> which gets altered, the loop fails to access the altered series/block, but
> continues to use the original. How do I go around this? (Ie, if I have [a
> b c d] and I run a for loop through it, when the loop reaches c, I want to
> append [e f g] to the block, and continue running the loop through e f g...)
> Does this make sense? Thanks everyone.
> > Any help/ideas will be appreciated.
> > Donald Dalley
> > --
> > 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.
The contradiction so puzzling to the ordinary way
of thinking comes from the fact that we have to use
language to communicate our inner experience
which in its very nature transcends lingistics.