There used to be something in the Dictionary about empty definitions, but
I can't find it now.  Under return.  I find

   The result of an explicit definition is the result of the last
   executed sentence that was not in a test block. If there is no
   such executed sentence, the result is i. 0 0 . 

which says to me that the result should be i. 0 0 .  It is in
the similar case:

   emp4 =: 3 : 0
return.
)
   emp4''


Henry Rich  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of bill lam
> Sent: Tuesday, April 11, 2006 2:58 AM
> To: Programming forum
> Subject: [Jprogramming] empty explicit definition
> 
> foo1=: 3 : 0
> )
> 
> foo2=: 3 : 0
> NB.
> )
> 
> both foo1'' and foo2'' produce domain error, is this the 
> intended behaviour?
> ----------------------------------------------------------------------
> For information about J forums see 
> http://www.jsoftware.com/forums.htm

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

Reply via email to