[Jprogramming] boxing each element

Dan Bron j at bron.us
Tue Jul 17 21:14:50 UTC 2012


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: programming-bounces at forums.jsoftware.com
[mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Kim Kuen Tang
Sent: Tuesday, July 17, 2012 4:36 PM
To: programming at jsoftware.com
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: programming-bounces at forums.jsoftware.com
> [mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Kim Kuen
Tang
> Sent: Tuesday, July 17, 2012 12:50 PM
> To: programming at jsoftware.com
> 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



More information about the Programming mailing list