[EMAIL PROTECTED] wrote:

> 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]

hmm,

while [condition-true][do-something]
for i 1 number-of-times step [do-something]
foreach item series [do-something]
repeat n series [do-something] - probably this one?
loop n [do-something]

hope-this-helps,

Cheers,
-pekr-

>
>
> 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

Reply via email to