Björn Helgason wrote:
>   It took me a few minutes to figure out 
>  that the case argument needed an atom.

david alis responded:
>  The implied comparison in the line
>  case. 1 do.  smoutput 'case 1'
>  uses  -: and not =

It actually uses  x e.&(<^:(L.=0:)) y  where  x  is the result of the 
select.  and  y  is the result of the  case.  .

See here:   http://www.jsoftware.com/help/dictionary/csel.htm  .  In
particular, see the last sentence of the definition (the grey box preceding
the examples).

-Dan
-- 
View this message in context: 
http://www.nabble.com/case-arguments-tp14617499s24193p14690252.html
Sent from the J Programming mailing list archive at Nabble.com.

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

Reply via email to