<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi folks.<br></div><div><br></div><div>Here is the "why" of the failure....</div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>OrderedCollection >> at: anInteger put: anObject <br></div><div>"Put anObject at element index anInteger. at:put: cannot be used to<br></div><div>append, front or back, to an ordered collection; it is used by a<br></div><div>knowledgeable client to replace an element."<br></div><div><br></div><div>| index |<br></div><div>1 <= anInteger ifFalse: [ self errorNoSuchElement ].<br></div><div>(index := anInteger + firstIndex - 1) <= lastIndex ifFalse: [ self errorNoSuchElement ].<br></div><div>^array at: index put: anObject<br></div></div></blockquote><div>At this point, the size of the collection is zero.<br></div><div>I will see if I can finagle this at the OC creation...<br></div><div><br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>x := self species <br></div><div>new: 0<br></div><div>streamContents: [ :stream | self do: [ :each |<br></div><div>i := i +1.<br></div><div>stream nextPutAll: (aBlock value: each).<br></div><div>self break.<br></div><div>]].<br></div></div></blockquote><div>That '0' is probably the problem.<br></div><div><br></div><div>cheers.<br></div><div><br></div><div><br></div></div><br></body></html>