Re: [Jprogramming] How can I I box items in an array

2014-10-06 Thread David Lambert
0400 From: Raul Miller To: Programming forum Subject: Re: [Jprogramming] How can I I box items in an array Message-ID: Content-Type: text/plain; charset=UTF-8 On Sat, Oct 4, 2014 at 10:56 AM, David Lambert wrote: >http://rosettacode.org/wiki/Maze_solving#J That doesn't work.

Re: [Jprogramming] How can I I box items in an array

2014-10-04 Thread Raul Miller
Oops, I need to define maze from the other task (referred to in the task description). I typicall update the text of the entry to make that sort of dependency clear when I'm writing one of those things. That said, it still doesn't work, when I also include the definition of maze and display from t

Re: [Jprogramming] How can I I box items in an array

2014-10-04 Thread Raul Miller
On Sat, Oct 4, 2014 at 10:56 AM, David Lambert wrote: > http://rosettacode.org/wiki/Maze_solving#J That doesn't work. 4 (display~ solve)@maze 9 |value error: maze Can you fix it? Thanks, -- Raul -- For information about J

Re: [Jprogramming] How can I I box items in an array

2014-10-04 Thread David Lambert
? ) On 10/04/2014 02:26 AM, [email protected] wrote: From: Linda Alvord To:[email protected] Cc: Sent: Friday, October 3, 2014 10:00 PM Subject: [Jprogramming] How can I I box items in an array What I would like to do is box the three letters in a so the boxe

Re: [Jprogramming] How can I I box items in an array

2014-10-04 Thread Linda Alvord
[email protected]] On Behalf Of Raul Miller Sent: Saturday, October 04, 2014 8:40 AM To: Programming forum Subject: Re: [Jprogramming] How can I I box items in an array If that is what you want, here is another approach: ({.,({.,.{:)@}.)":@<"0 'HIJ' ┌─┐ │H│ └─┘ ┌─

Re: [Jprogramming] How can I I box items in an array

2014-10-04 Thread Raul Miller
> Aha! It can be done. Thanks. > > Linda > > -Original Message- > From: [email protected] > [mailto:[email protected]] On Behalf Of Aai > Sent: Saturday, October 04, 2014 5:41 AM > To: [email protected] > Su

Re: [Jprogramming] How can I I box items in an array

2014-10-04 Thread Linda Alvord
Aha! It can be done. Thanks. Linda -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Aai Sent: Saturday, October 04, 2014 5:41 AM To: [email protected] Subject: Re: [Jprogramming] How can I I box

Re: [Jprogramming] How can I I box items in an array

2014-10-04 Thread Aai
Ok , in this particular case: (<<<3)&{@}.@}:@|:^:2 ": 2 2$ ]`(''"_)@.(' '&=&>)L:1 <&.> 'H IJ' ┌─┐ │H│ └─┘ ┌─┐┌─┐ │I││J│ └─┘└─┘ On 04-10-14 04:00, Linda Alvord wrote: What I would like to do is box the three letters in a so the boxes do not touch each other. ]A=:2 2$'H IJ' H IJ ]B=

Re: [Jprogramming] How can I I box items in an array

2014-10-04 Thread Linda Alvord
[email protected] [mailto:[email protected]] On Behalf Of robert therriault Sent: Friday, October 03, 2014 11:49 PM To: [email protected] Subject: Re: [Jprogramming] How can I I box items in an array Hi Linda, With an extra level of boxing you could do this

Re: [Jprogramming] How can I I box items in an array

2014-10-03 Thread robert therriault
Hi Linda, With an extra level of boxing you could do this ]A=:<<<'h' ┌─┐ │┌───┐│ ││┌─┐││ │││h│││ ││└─┘││ │└───┘│ └─┘ ]B=:< wrote: > ,. ;: 'H IJ' -- For information about J forums see http://www.jsoftware.com/forum

Re: [Jprogramming] How can I I box items in an array

2014-10-03 Thread 'Pascal Jasmin' via Programming
don't think that is possible, perhaps this helps ,. ;: 'H IJ' ┌──┐ │H │ ├──┤ │IJ│ └──┘ - Original Message - From: Linda Alvord To: [email protected] Cc: Sent: Friday, October 3, 2014 10:00 PM Subject: [Jprogramming] How can I I box items in an arra

[Jprogramming] How can I I box items in an array

2014-10-03 Thread Linda Alvord
What I would like to do is box the three letters in a so the boxes do not touch each other. ]A=:2 2$'H IJ' H IJ ]B=:<"0 A --T-┐ │H│ │ +-+-+ │I│J│ L-+-- ]C=:<"0 B T---┐ │--┐│--┐│ ││H│││ ││ │L--│L--│ +---+---+ │--┐│--┐│ ││I│││J││ │L--│L--│ L---+ ]D=:(<'') (< 0 1)}C T---┐ │-