An example of using adverse:

badplus=: 4 : 0
 smoutput 'bad argument(s) to + -- x: ', (5!:5 <'x'), '; y: ', 5!:5 <'y'
 _131313
)

plus=: + :: badplus " 0

   3 plus 4
7
   
   3 plus 'a'
bad argument(s) to + -- x: 3; y: 'a'
_131313

   z=: 'foo' plus 7
bad argument(s) to + -- x: 'f'; y: 7
bad argument(s) to + -- x: 'o'; y: 7
bad argument(s) to + -- x: 'o'; y: 7
   z
_131313 _131313 _131313



----- Original Message -----
From: Heinz Schild <[EMAIL PROTECTED]>
Date: Friday, September 15, 2006 2:54 am
Subject: [Jgeneral] Questions

> I use J504 on a PowerBook with OS V 10.4.7 in German language.
> 
> Can I do something that allows German "Umlaute" like ä and ü in J 
> code?
> Does a key combination exist which interrupt an endless loop 
> without  
> closing J?
> 
> I know how to handle an error situation with the control words 
> "try"  
> and "catch". I tried to use the verb "Adverse" for the same 
> purpose  
> but did not succeed. The example in the dictionary on page 159 is 
> too  
> cryptic for me. I would appreciate examples for "Adverse" to 
> handle  
> error situations which are easy to understand.
> 
> Are there J packages or labs which include  more comprehensive  
> collections of statistical functions?
> 
> Can you recommend a handheld without a phone module, on which the  
> Pocket PC-version of J is operational?


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to