[Jprogramming] from each
David Mitchell
davidmitchell at att.net
Mon Jun 9 01:22:17 HKT 2008
One way is:
('';0;1;0 1){&.> <'ab'
++-+-+--+
||a|b|ab|
++-+-+--+
--
David Mitchell
Tracy Harms wrote:
> '';0;1;0 1 NB. example boxlist
> ++-+-+---+
> ||0|1|0 1|
> ++-+-+---+
> '';'a';'b';'ab' NB. desired output given 'ab' and boxlist
> ++-+-+--+
> ||a|b|ab|
> ++-+-+--+
>
> I've tried a variety of combinations of { (from) with &.> (each) without grasping a correct combination. Advice is welcome.
>
> Tracy
>
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list