<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 29, 2012 at 12:30 PM, Chris Cunnington <span dir="ltr">&lt;<a href="mailto:smalltalktelevision@gmail.com" target="_blank">smalltalktelevision@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>I think I&#39;m missing a simpler way. Especially with Xtreams. Shouldn&#39;t I just use a filter, change the #contentSpecies, or something?<br>

</div></blockquote></div><br></div><div class="gmail_extra">Yeah, writing into an OrderedCollection with a stream is a bit suspect to begin with. Both provide a way to grow an underlying fix-size collection as you add more elements. If you have an OrderedCollection, you can just send #add:, no need for a write stream. If you want to build a string, &quot;String new writing&quot; will do the job, no need for an OrderedCollection. </div>
<div class="gmail_extra"><br></div><div class="gmail_extra" style>Also, you can write an OC full of characters directly into a write stream on a string:</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>
<div class="gmail_extra">chars := &#39;abc&#39; asOrderedCollection.</div><div class="gmail_extra">String new writing </div><div class="gmail_extra"><span class="" style="white-space:pre">        </span>write: &#39;123&#39;;</div>
<div class="gmail_extra"><span class="" style="white-space:pre">        </span>write: chars; </div><div class="gmail_extra"><span class="" style="white-space:pre">        </span>conclusion</div></div><div class="gmail_extra"><br></div>
<div class="gmail_extra" style>Colin</div></div>