[REBOL] Re: creating empty blocks
From: gchiu:compkarori at: 22-Sep-2001 8:00
On Fri, 21 Sep 2001 02:06:45 -0500
Joel Neely <[joel--neely--fedex--com]> wrote:
> With all of that said, you might try something like this:
>
> create-room: has [ result ] [
> result: to-string random 1000
> while [find rooms result] [
> result: to-string random 1000
> ]
> append rooms copy/deep reduce [
> result [] [] [] []
> ]
> result
> ]
>
> to address (2a) and (2b). If the limit of 1000 was *way*
> overspecified, then I'd ignore (2c). If you actually
> might
Hi Joel,
That's just what I need :) I was only expecting to create
about 10 rooms max, but I guess any way to avoid crashing
Rebol must be a good thing!
Explanation much appreciated.
--
Graham Chiu