[squeak-dev] Given an interval of numbers from 1 to 100 how to split them into 10 collections(?) of 1 to 10.
gettimothy at zoho.com
Thu Jan 28 20:03:38 UTC 2021
For a development tool and Unicode grok exercise, I am recreating the functionality of: https://jrgraphix.net/r/Unicode/
For the Latin unicode characters, I would like to create a table 10 <td> things wide in a table row.
There has got to be an elegant way rather than the kludge I am imagining...
Here is my current code that has one TD for each row.
html tableHead with: [html strong: ' Basic Latin'].
html tableBody with:[
(16r000020 asCharacter to: 16r00007F asCharacter)
html tableRow with:[
html tableHeading: (each asInteger).
html tableData: each]]]]
If I could "chunk" that (16r000020 asCharacter to: 16r00007F asCharacter) or the Interval (16r000020 to: 16r00007F) into subsets of 10, it would be easy to code this.
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev