[Gambas-user] sleep vs waith in serial respect forms/class

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Aug 21 17:27:54 CEST 2018


Please show the code. Wait allows events to be raised, sleep doesn't. But
you cannot use wait inside of event handler.
http://gambaswiki.org/wiki/lang/wait


Jussi

On Tue, Aug 21, 2018 at 6:17 PM PICCORO McKAY Lenz <mckaygerhard at gmail.com>
wrote:

> i setup a variable for the delay to waith info into my serial kit printer
> classes
>
> but in some cases using sleep got into a undefined loop or does not end,
> same when using waith
>
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180821/c3bc86fb/attachment.html>


More information about the User mailing list