You are dropping the boxes I want deeper into the pond that has square ripples! Somwday I may find that very useful. For not all is want is the three litte boxes with H, I and J to "float" on the surface in a right angle.
Linda -----Original Message----- From: [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 ]A=:<<<'h' ┌─────┐ │┌───┐│ ││┌─┐││ │││h│││ ││└─┘││ │└───┘│ └─────┘ ]B=:<<each 'i';'j' ┌─────────┐ │┌───┬───┐│ ││┌─┐│┌─┐││ │││i│││j│││ ││└─┘│└─┘││ │└───┴───┘│ └─────────┘ A,:B ┌─────────┐ │┌───┐ │ ││┌─┐│ │ │││h││ │ ││└─┘│ │ │└───┘ │ ├─────────┤ │┌───┬───┐│ ││┌─┐│┌─┐││ │││i│││j│││ ││└─┘│└─┘││ │└───┴───┘│ └─────────┘ The extra level of boxing is required so that the shape of the top item can match the shape of the bottom item. If you want a top box with one item that spans the two lower boxes, I agree with Pascal that this can not be done. If you think about it, what shape would you have such an object be? The shape of the single top box or the shape of the lower double box? If I interpret your question correctly. Cheers, bob On Oct 3, 2014, at 7:05 PM, 'Pascal Jasmin' via Programming <[email protected]> wrote: > ,. ;: 'H IJ' ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
