[Gambas-user] help with inherits using serial port

T Lee Davidson t.lee.davidson at gmail.com
Wed Aug 1 18:11:26 CEST 2018


On 08/01/2018 10:45 AM, PICCORO McKAY Lenz wrote:
> The problem is that you didn't read the context of the first email and the first email is translated with the "wonderful deepl
> translator" and by the answer from you its very bad them

I disagree that Jussi's response to you is very bad. Jussi reiterated a valid issue that has already been pointed out to you
several times.

Ves, esto es con lo que consigues quejarte de tu texto trnslat con erores astillados.
(https://www.deepl.com/translator#en/es/You%20see%20ths%20is%20whit%20you%20get%20whin%20you%20trnslat%20text%20with%20splling%20erors.)


[snip]
> 
> I was must to read the English part before sent it, it is very badly translated, EVEN IF I REMOVE THE LINE THAT CLOSES THE PORT
> THE PRINT LINE DOES NOT OUT NOTHING, you can notice that it doesn't write anything when I try to print.

The close function was called after the write function. So, removing the line that closes the port would have NO effect on the
write function which would have already executed. Perhaps the problem you are having with the write function is because the
interpreter does not understand the "#Super" keyword.


> I noted that many of the gambas forums are very dead, and only the gambas german book are alive, gambas resources are very
> limited, and i must finish hurry my requeriments so from any of you must understand when a people has some pression, i note when
> herbert said that want to swicht to python and i understand their problem.. it's the obvious result due the very limited
> resources..  i like to continue work with gambas but please dont make "too easy to do" (i pretentd to are sarcastid)

Yes, PICCORO, don't make it "too easy" for us to understand what you're saying.


___
Lee



> 2018-08-01 10:19 GMT-04:00 Jussi Lahtinen <jussi.lahtinen at gmail.com <mailto:jussi.lahtinen at gmail.com>>:
> 
>     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.
>     At least one problem in your code is because you close the stream and then try to read from it.
>     The IDE has feature to run your project step by step. It's easy way to see the problem.
> 
> 
>     Jussi
> 
>     On Wed, Aug 1, 2018 at 4:46 PM, PICCORO McKAY Lenz <mckaygerhard at gmail.com <mailto:mckaygerhard at gmail.com>> wrote:
> 
>         i feel that i are the only that ask for real problems or my questions are outside of this world
> 
>         maybe i try inherits the common operations inside each class and determine class type when use the main class
> 
>         Lenz McKAY Gerardo (PICCORO)
>         http://qgqlochekone.blogspot.com <http://qgqlochekone.blogspot.com>
> 
>         2018-07-31 17:15 GMT-04:00 PICCORO McKAY Lenz <mckaygerhard at gmail.com <mailto:mckaygerhard at gmail.com>>:
> 
>             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 <http://qgqlochekone.blogspot.com>
> 
> 
> 
> 
>         ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 
> 
> 
> 
>     ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 
> 
> 
> 
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 


More information about the User mailing list