A few ideas
d: insert/only/dup [] [this] 5
head d
== [[this] [this] [this] [this] [this]]
or
array/initial 5 [this]
== [this this this this this]
or
array/initial 5 [[this]]
== [[this] [this] [this] [this] [this]]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 19, 2000 12:31 AM
Subject: [REBOL] shortcut?
>
> Hi.
>
> Is there some rebol func that would allow me to quickly create a block
> which repeats a given series a given amount of times?
>
> eg.
>
> blah: some-func [series-to-be-repeated] [number-of-repeats]
>
> I made one myself, but I'm sure I've seen something similar before and
> wondered if it was a native func that I haven't been able to find in the
> dictionary. In which case, it's silly using the custom one.
>
> Just a quick yes or no would be great.
>
> Thanks,
> chris
>
>