Dear Alan: Looks like a nice solution, and one that exploits the strengths of J.
However, you should be aware that the Shootout has rejected all J solutions in the past on the grounds that J is not open source. Best wishes, John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
