Hello Steven;

The following seems to work:

   a =: 5,1[b=: 2
   a
5 1
   b
2
 
Steven Taylor wrote:
> is there a trick in J a bit like
>    ] a=.5
> 5
>
> that will:
>    a=.5,1
>    b=.2
>    a
> 5 1
>
> but on the same line for this sequence?
>
> --Steven
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>   

-- 
------------------------------------------------------------------------
|\/| Randy A MacDonald       | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ |                         | The only real problem with APL is that
BSc(Math) UNBF'83            | it is "still ahead of its time."
Sapere Aude                  |     - Morten Kromberg
Natural Born APL'er          |
-----------------------------------------------------(INTP)----{ gnat }-



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

Reply via email to