Hi! ] y =: ((<1) ,<2) ,: (<<'abc'), <'bb' ┌─────┬──┐ │1 │2 │ ├─────┼──┤ │┌───┐│bb│ ││abc││ │ │└───┘│ │ └─────┴──┘ (6 [ ]) applyintree(<1 1) y ┌─────┬─┐ │1 │2│ ├─────┼─┤ │┌───┐│6│ ││abc││ │ │└───┘│ │ └─────┴─┘
(6 [ ]) applyintree(1 0; 0) y |length error | ((u applyintree(}.n))L:_1({.n) {y)({.n)}y Details for appleintree verb: https://code.jsoftware.com/wiki/Vocabulary/AmendingBoxedStructures Nice day! Sergey ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm