[REBOL] Re: How to Create a block of empty blocks?
From: tim:johnsons-web at: 19-Sep-2001 8:49
On Wed, Sep 19, 2001 at 04:04:00PM +0200, Frank Sievertsen wrote:
> Try
>
> >> array [3 0]
> == [[] [] []]
Thank you Frank, that's a better way.
And I promise not to forget to use 'reduce for variable
controls.... :>)
regards
tj
> CU,
> Frank
>
> On Tue, 18 Sep 2001, Tim Johnson wrote:
>
> > Never mind.... I forgot to use /only.
> > I'm going to get some sleep now :>) zzzzzzzzzzzzzzzzzzzz...
> > On Tue, Sep 18, 2001 at 07:28:39PM -0800, Tim Johnson wrote:
> > > Hello All:
> > > I would like to initialize a block of given size with
> > > a number of empty blocks:
> > > example :
> > > >> blks: make block! 3
> > > == []
> > > >> loop 3[append blks []]
> > > == []
> > > ; what I am try to get is:
> > > == [[][][]]
> > > What else do I need to do?
> > > TIA
> > > tim
> > > --
> > > To unsubscribe from this list, please send an email to
> > > [rebol-request--rebol--com] with "unsubscribe" in the
> > > subject, without the quotes.
> >
> > --
> > Tim Johnson <[tim--johnsons-web--com]>
> > http://www.johnsons-web.com
> > --
> > 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.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com