up=: 3 :'UP=:y'
up ,. ((< 2 ; 3) , <(22;23;24 25))
] many =: UP , < 0$ i.0
┌─────────────┐
│┌─┬─┐
│
││2│3│ │
│└─┴─┘
│
├─────────────┤
│┌──┬──┬─────┐│
││22│23│24 25││
│└──┴──┴─────┘│
├─────────────┤
│ │
└─────────────┘
] one =: ,. 1 1 1; 11 11 ; 111
┌─────┐
│1 1 1│
├─────┤
│11 11│
├─────┤
│111 │
└─────┘
I'd like to end up with the following 6 boxes. unboxed
output:
1 1 1 2
1 1 1 3
11 11 22
11 11 23
11 11 24 25
111
thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm