hmmm! alonge the same line
how about a _pseudo_ monty carlo method
>> forever[random/seed 13 print pick colors: random colors 1]
red
green
blue
red
green
blue
red
green
blue
red
green
blue
red
green
blue
red
(escape)
On Mon, 30 Sep 2002, Carl Read wrote:
> On 30-Sep-02, Tom Conlin wrote:
>
> > Hi Pat,
>
> >>> colors: [red green blue]
> > == [red green blue]
>
> >>> forever [append colors colors]
>
> > == [red green blue red green blue]
> > == [red green blue red green blue red green blue red green blue]
> > ...
>
> > will get you to forever quickly ;)
>
> Indeed. But it suggests a way I haven't seen posted...
>
> >> colors: [red green blue]
> == [red green blue]
> >> forever [print color: colors/1 remove append colors color]
> red
> green
> blue
> red
> green
> blue
> red
> green
> blue
> red
> green
> blue
> red
> green
> blue
> red
> (escape)
>
> Has the advantage of no extra words being needed. The disadvantages
> being the contents of the colors block is cycling, (might or might
> not matter), and it may be slower than Joel's best effort. It should
> have a consistant speed though. Comments Joel?
>
> --
> Carl Read
>
> --
> 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.