And this

   ('+/',5e5$'1 ') fwrite 'someOnes.txt'
500002
+/1 1 1 1 1 1 1 1 1 1 1 1 1 1...

returns

14999
   1 1 1 1 1 1 1 1 1 1 1 1...
   1 1 1 1 1 1 1 1 1 1 1 1...
   1 1 1 1 1 1 1 1 1 1 1 1...
...

So it looks like about 30,000 is the limit for this variation (jconsole
running under emacs on XP), though maybe this is due to emacs since it gave
me rows of ones after the result of the summation?


On 4/1/08, Devon McCormick <[EMAIL PROTECTED]> wrote:
>
> I can c&p much more than this in my jconsole running under emacs under
> Windows XP, eg:
>
>    ('+/',20000$'1 ')fwrite 'someOnes.txt'
> 20002
> NB. Get the contents of this file into the "kill ring" and paste into
> session:
>    +/1 1 1 1 1 1...
> 10000
>
> However, trying it with this
>    ('+/',1e6$'1 ') fwrite 'someOnes.txt'
> appears to freeze my session.
>
> On 4/1/08, Dan Bron <[EMAIL PROTECTED]> wrote:
> >
> > Ambrus wrote:
> > >  I could type (actually paste) a line somewhat longer than 1024
> > >  characters to jconsole in unix
> >
> >
> > Interesting, I just tried that in jconsole on Windows.
> >
> > You're right, I can paste lines longer than 1024 bytes there.  The limit
> > here appears to be 4096 -- but it manifests differently.
> >
> > J.exe allows me to type as many bytes as I want, but only ships the
> > first 1024 to the J engine.  Jconsole just stops me from typing more than
> > 4096 chars.  Not sure if that's a limit in jconsole specifically, or Windows
> > command-line interfaces in general.
> >
> >
> > -Dan
> >
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to