<div dir="ltr">2018-08-11 20:47 GMT-04:00 T Lee Davidson <span dir="ltr"><<a href="mailto:t.lee.davidson@gmail.com" target="_blank">t.lee.davidson@gmail.com</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No, there should not "always be data to read". If the printer responds there should be data to read *after a certain amount of<br>
time*. You have to give the printer/driver time to respond. Your program does not.<br></blockquote><div>but, does not raised automatically the event when data happened?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

And, you cannot rightly say that the event is never raised if you do not allow time for that to happen, which, again, your<br></blockquote><div>if i removed rhe "rp" function the "Read" event never reaised <br>here there's no "certaing amount of time" due there's no read operatin forced manually<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Finally, if a Stream is being WATCHed, the program can (will?) hang if the Stream is not closed prior to application exit.<br></blockquote><div>i not watched the stream.. and ..<br><br>the problem does not happen if i used gambas 3.1 and 3.4 do you know?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
___<br>
Lee<br>
<br>
<br>
On 08/10/2018 08:04 AM, PICCORO McKAY Lenz wrote:<br>
> 2018-08-09 23:12 GMT-04:00 T Lee Davidson <<a href="mailto:t.lee.davidson@gmail.com">t.lee.davidson@gmail.com</a> <mailto:<a href="mailto:t.lee.davidson@gmail.com">t.lee.davidson@gmail.<wbr>com</a>>>:<br>
<div class="gmail-HOEnZb"><div class="gmail-h5">> <br>
>     > it's suppost that the event raised automatically if there some data! right? as documentation!<br>
> <br>
>     Yes, exactly, IF there is some data. How do you know there is data available that should trigger the _Read event? <br>
> <br>
> always after a write , will be a response, inclusivelly a garbage response if any! so "always be data to read"<br>
> <br>
>     And, if there<br>
>     is indeed data available, how do you know for sure that the event isn't being triggered?<br>
> <br>
> due if i do not use the  "rp"  function, never raise the event!<br>
> <br>
>     > somethings programs ends something not! get hang on "some where" here! i put pause and code does not pause!<br>
>     Well Gambas has no "Pause" statement, so I don't know what you mean.<br>
> <br>
> i mean the "play", "pause", "stop" from the ide in the tool bar or whatever named<br>
>  <br>
> <br>
> <br>
> <br>
>     ___<br>
>     Lee<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>
> <br>
> <br>
> <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>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</div></div></blockquote></div><br></div></div>