x=: 1 1 1$5
   x
5
   $ x
1 1 1

It can show the shape of an array just fine.



----- Original Message -----
From: bill lam <[EMAIL PROTECTED]>
Date: Thursday, April 5, 2007 9:30 pm
Subject: Re: [Jgeneral] Need a word for a non-atomic array

> Mark D. Niemiec wrote:
>  > 'x' and 42 and a: are all atoms. They are also arrays of rank 0.
> > The words 'atom' and 'array' both apply here, so they are not 
> contradictory.
> In that case just call it an atom or an array, but I not sure this 
> is relevant 
> to J beginners.  It may be more helpful to point out that a 
> singleton need not 
> be a scalar (atom) and j session cannot show the shape of an array
>   5
> 5
>   ,5
> 5
>   1 1 1$5
> 5
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to