Dan Bron wrote:
> > If a verb is called with an empty argument (the shape of the
> > argument contains a  0  (ie  e.&0@:$  )), then J will execute
> > that verb on some fill elements.
> >
> > J only cares about the shape of the output from that call; all
> > other aspects of the output, including errors, are ignored (CAVEAT:
> > SIDE EFFECTS STILL OCCUR).  J does this so it can properly shape
> > the output of the verb, to seamlessly handle the edge conditions,
> > so that you don't have to.

bill lam wrote:
> I think you missed my point or I didn't spell it out clearly enough.
> I am NOT asking why 1+'' doesn't raise an error.
> I am asking why the body of foo being executed and NO domain error 
> raised.

I believe he addressed this issue.

Re-read the quoted material, above, and especially note the sentence
which says "all other aspects ... including errors, are ignored".

-- 
Raul

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

Reply via email to