22 { '';9!:8 ''
+-------------+
|out of memory|
+-------------+


----- Original Message ----- 
From: "Lorin Lund" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Tuesday, February 28, 2006 6:44 PM
Subject: Re: [Jprogramming] Size limit on stdin?

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

Reply via email to