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=:<"0 A
--T-┐
│H│ │
+-+-+
│I│J│
L-+--
]C=:<"0 B
----T---┐
│--┐│--┐│
││H│││ ││
│L--│L--│
+---+---+
│--┐│--┐│
││I│││J││
│L--│L--│
L---+----
]D=:(<'') (< 0 1)}C
----T---┐
│--┐│ │
││H││ │
│L--│ │
+---+---+
│--┐│--┐│
││I│││J││
│L--│L--│
L---+----
>D
--┐
│H│
+-+
│ │
L--
--┐
│I│
+-+
│J│
L--
The result should have only three boxes. It should look llike D, but without
the outer square of 4 smaller squares. I thought it would be easy, but:
Linda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
Met vriendelijke groet,
@@i = Arie Groeneveld
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm