[FIX] Was raok-elementPrinting

Tom Koenig tomkoenig at mindspring.com
Fri Feb 6 18:49:41 UTC 2004


The original [FIX] by Richard O'Keefe raok-elementPrinting was closed by
Ken's time out clean up
Author:		ok at cs.otago.ac.nz
Date Posted: 31 May 2002
Archive ID: 6316
Comments:	
from preamble:

"Change Set:		raok-elementPrinting
Date:			30 May 2002
Author:			Richard A. O'Keefe

Collection>>printElementsOn: used to use the
#skip: method of streams.  This limits the range
of streams that #printOn: can be used with, as
some quite reasonable streams (such as XML
generation) may not support #skip:.  The
existing code in Collection>>storeOn: does not
need #skip:.  This change-set makes
#printElementsOn: use the same technique as
#storeOn:, so that #skip: isn't needed any more."!

I tested this with 3.7a #5623 and found it worked as advertized




More information about the Squeak-dev mailing list