<div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

It&#39;s a hack, sure, but what could possibly go wrong? SerialPort isn&#39;t used for anything system-critical.</blockquote><div><br></div><div>Yes, that&#39;s what I thought but since I don&#39;t usually put my hands in this part of the system I wanted to make sure I won&#39;t find any weird problem later :)</div>

<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="HOEnZb"><div class="h5">This should work fine. ReadOnlyVariableBindings are there to protect against accidentally overwriting system globals (i.e., when executing &quot;Array := new&quot; in a workspace which is one of my favorite mistakes :-) But as long as you know what you&#39;re doing, go ahead.</div>

</div>
<br>
BTW, it will be faster to install your class if you do the following (it avoids the need to recompile all references):<br>
<br>
        [SerialPort := SqueakSerialPort]<br>
                on: AttemptToWriteReadOnlyGlobal<br>
                do:[:ex| ex resume: true].<br></blockquote><div><br></div><div>Thanks for the explanation and the code snippet. I&#39;ll give it a try then :)</div><div><br></div><div>Cheers,</div><div>Richo</div><div> </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Cheers,<br>
  - Andreas<br>
<br>
</blockquote></div><br></div>