What is the input size, you are expecting?

It's probably not a good thing to read the whole
stdin like that. You need C-style "fgets" for headers and
C-style "fread" for reading data.
While keeping the memory footprint low.

I am not sure if you can go it in J with current 1!:n.
But on UNIX wouldn't be possible to call those
with cd from libc?


--- Lorin Lund <[EMAIL PROTECTED]> wrote:

> Oleg Kobchenko wrote:
> 
> >log=: smoutput  NB. or fwrite&'/path/to/file'
> >
> >faulty=: 3 : 0
> >  r=.i.0 0
> >  try. r=.". y. 
> >  catch. log '>>> Error ',(":13!:11 i.0),LF,(13!:12 i.0),'<<<'
> >  end. r
> >)
> >  
> >
> I chased Raul's work around first and got things going but
> I finally took the time to come back and try Oleg's error capture
> technique with the following results.
> 
>  >>> Error22
> |out of memory: cgi1
> |   vars=.    (1!:1)3
> <<<
> 
> cgi1 is the name of the currently running verb. 
> I don't see where to look up the error number.
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to