[Gambas-user] help with inherits using serial port

PICCORO McKAY Lenz mckaygerhard at gmail.com
Tue Jul 31 23:15:55 CEST 2018


hello, today I have another case, I want to implement inheritance to the
common code with the serial port printing.

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...

i attached project with minimal comments hope someone will help with this!

the firts problem its that i received "'canot write "stream are closed"
why?

the second problem its that i cannot got any stream event when i do not
have stream errors

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180731/f1a1beff/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prueba-printer-manager-0.0.1.tar.gz
Type: application/gzip
Size: 13187 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180731/f1a1beff/attachment-0001.gz>


More information about the User mailing list