<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 5:26 PM, Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-03 1:59 GMT+02:00 Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>&gt;</span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div>On Wed, Jul 2, 2014 at 2:47 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div><div><br></div><div>(32 to: 127) asByteArray asString do: [:c| c class] =&gt;  &#39; !&quot;#$%&amp;&#39;&#39;()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ &#39;</div>



<div><br></div><div>so far so good.</div><div><br></div><div><br></div><div>(32 to: 127) asWordArray asString do: [:c| c class] =&gt; &#39;a WordArray(32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127)&#39;</div>



<div><br></div><div>?!?!?!</div><div><br></div><div>Surely this should be a String of some sort also?  Any objections if I implement this as such?</div><div><br></div></div></div></blockquote><div><br></div></div></div><div>

Are you saying you want to override asString in WordArray so you get a string-representation of the WordArray instead of its printString?  I wasn&#39;t sure whether the do: part of those code snippets fits into your question and if I missed something..</div>


</div><br></div></div>

<br></blockquote><div><br></div></div></div><div>Yes, but which string?<br></div><div>Maybe you wan&#39;t to turn the WordArray into a WideString ?<br></div></div></div></div></blockquote><div><br></div><div>This is useful, and symmetrical with ByteArray&gt;&gt;asString..</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>Or re-interpret the individual bytes (endianness?) as a ByteString?</div>
</div></div></div></blockquote><div><br></div><div>I don&#39;t see this as particularly useful, and is not symmetric.</div></div><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>