j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
A new version of Collections was added to project The Inbox: http://source.squeak.org/inbox/Collections-kfr.812.mcz
==================== Summary ====================
Name: Collections-kfr.812 Author: kfr Time: 4 November 2018, 4:41:29.534614 pm UUID: 93f849c9-8b62-e04c-b8e0-ab2a7c2d728c Ancestors: Collections-eem.811
Print the matrix so one can see the rows and columns
=============== Diff against Collections-eem.811 ===============
Item was added: + ----- Method: Matrix>>printMatrix (in category 'printing') ----- + printMatrix + "Answer a String whose characters are a description of the receiver layed out in rows and columns" + + ^ String streamContents: [:aStream | + 1 + to: nrows + do: [:iRow | + 1 + to: ncols + do: [:iCols | + aStream + print: (self at: iRow at: iCols). + aStream tab: 2]. + aStream cr]]!
squeak-dev@lists.squeakfoundation.org