, each i. 10

would put a list in each box created.

] each i. 10

would put a scalar in each box

Cheers, bob

On 2012-07-17, at 2:14 PM, Dan Bron wrote:

> It's not abuse - that's perfectly valid.  Note, however:
> 
> 
>          ]A=:1 <\ i. 10
>       +-+-+-+-+-+-+-+-+-+-+
>       |0|1|2|3|4|5|6|7|8|9|
>       +-+-+-+-+-+-+-+-+-+-+
>          ]B=:<"0 i. 10
>       +-+-+-+-+-+-+-+-+-+-+
>       |0|1|2|3|4|5|6|7|8|9|
>       +-+-+-+-+-+-+-+-+-+-+
>          A-:B
>       0
> 
>          NB.  A and B are not the same - why not?
> 
>          $&.>B
>       +++++++++++
>       |||||||||||
>       +++++++++++
>          $&.>A
>       +-+-+-+-+-+-+-+-+-+-+
>       |1|1|1|1|1|1|1|1|1|1|
>       +-+-+-+-+-+-+-+-+-+-+
>          
> 
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Kim Kuen Tang
> Sent: Tuesday, July 17, 2012 4:36 PM
> To: [email protected]
> Subject: Re: [Jprogramming] boxing each element
> 
> 
> 1<\i.10
> 
> 
> is for me not ideal because you are abusing the adverb \ .
> 
> Am 17.07.2012 21:15, schrieb Linda Alvord:
>> <"0 i.10
>> --T-T-T-T-T-T-T-T-T-┐
>> │0│1│2│3│4│5│6│7│8│9│
>> L-+-+-+-+-+-+-+-+-+--
>> 
>> I'm not sure what you will call better.
>> 
>> Linda
>> 
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Kim Kuen
> Tang
>> Sent: Tuesday, July 17, 2012 12:50 PM
>> To: [email protected]
>> Subject: [Jprogramming] boxing each element
>> 
>> Hi everyone,
>> 
>> is there a better way to box each element ?
>> 
>> 1<\i.10
>> 
>> Thx for any comments or solutions.
>> 
>> Kim
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 
> ----------------------------------------------------------------------
> 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