<div dir="ltr"><div>Not sure about that, but you certainly are the only one who do not know how to use spell checker or care enough to write understandable English.</div><div>At least one problem in your code is because you close the stream and then try to read from it.</div><div>The IDE has feature to run your project step by step. It's easy way to see the problem.<br></div><div><br></div><div><br></div><div>Jussi<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 1, 2018 at 4:46 PM, PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>i feel that i are the only that ask for real problems or my questions are outside of this world<br><br></div>maybe i try inherits the common operations inside each class and determine class type when use the main class<br></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_2432557364290736178gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.<wbr>com</a></font></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">2018-07-31 17:15 GMT-04:00 PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>hello, today I have another case, I want to implement inheritance to the common code with the serial port printing.<br><br>What I want to do is to have the procedures to open, close and write to the serial port in one class, and two others that inherit these functions, then one of the inheritors writes "A" to the port while the other writes "B" to the port but the writing functions should be called the same... <br><br></div>i attached project with minimal comments hope someone will help with this!<br><br></div>the firts problem its that i received "'canot write "stream are closed" why?<br><br></div>the second problem its that i cannot got any stream event when i do not have stream errors<br><div><div><div><br clear="all"><div><div class="m_2432557364290736178m_2978823473671424557gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.c<wbr>om</a></font></div></div></div>
</div></div></div></div>
</blockquote></div><br></div></div></div>
<br><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></div><br></div>