Wow, yes that is a hidden treasure!

I had created the following to do the same thing.
   1024 (((1 + <[EMAIL PROTECTED]) # [) #: ]) 134125010
127 933 466

---Randy MacDonald wrote:
> Your method did suggest what I consider to be one of the
> hidden treasures of  J:
>
>   1000#.^:_1]134125010
> 134 125 10
>
> which saves the mental effort it takes to know to include the 4.  Yet,
> somehow counting the actual number of digits seems harder.
>
> Raul Miller wrote:
> > On 7/30/08, Randy MacDonald <[EMAIL PROTECTED]> wrote:
> >
> >> I'll bite;  what do you consider to be 'too slow?'  It
> does seem to be a
> >> 134MB file you are trying to process.
> >>
> >
> > I thought that that file was over a gigabyte?
> >    (4#1000)#:134125010
> > 0 134 125 10
> >
> > But I was wrong and you are correct, it's 134MB.
> >
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to