I'm betting the formatting was the rub

>> repeat i 3 [s: to string! i insert/dup s "0" 3 - length? s print s]
001
002
003

On 10/4/05, A J Martin <[EMAIL PROTECTED]> wrote:
>
>
> Glenn wrote:
> > I'm trying to do this (Ruby):
> >
> > >> 340.times {|i| puts "%03d" % i }
> > 000
> > 001
> > 002
> > :::
> > 339
> >
> > in REBOL, but I can't figure out how. Any ideas?
>
> >> repeat i 3 [print i]
> 1
> 2
> 3
>
> Rebol seems easier to me.
>
> AJ Martin
> Auto-surfing for 4% daily at:
> http://www.surfmunkee.com/?ref=7295
> Are you The Next Internet Millionaire?
> http://ajmartin.thenextinternetmillionaire.com/
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com <http://rebol.com> with unsubscribe as the subject.
>
>


--
... nice weather eh

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to