[Jprogramming] Boxing n at a time

Roger Hui rhui000 at shaw.ca
Sat Sep 20 01:28:18 HKT 2008


   _3 <\ i.20
+-----+-----+-----+-------+--------+--------+-----+
|0 1 2|3 4 5|6 7 8|9 10 11|12 13 14|15 16 17|18 19|
+-----+-----+-----+-------+--------+--------+-----+



----- Original Message -----
From: "Leigh J. Halliwell" <leigh at lhalliwell.com>
Date: Friday, September 19, 2008 10:25
Subject: [Jprogramming] Boxing n at a time
To: 'Programming forum' <programming at jsoftware.com>

> Dear J Forum:
>  
> I once saw a very neat use of '/' or '\' to box items n at a 
> time.  So
> what's the neatest way to box i. 20 in groups of three, with two 
> in the last
> group?  Thanks.


More information about the Programming mailing list