[Gambas-devel] Application.Busy (gambas2-1.9.43)
Karl.Reinl at ...16...
Sat Sep 23 20:45:19 CEST 2006
Application.Busy INC and DEC works fine, ... BUT
If by any reason the DEC ditn't arrive, the next INC work like every INC,
but the next DEC is the first INC.
INC Application.Busy (0 + 1 = 1)
DEC Application.Busy (1 - 1 = 0) ' but not reached so stays 1
INC Application.Busy (1 + 1 = 2)
DECApplication.Busy (2 - 1 = 1)
This can happend if you work with processes.
I Think Application.Busy= true and Application.Busy=False would be better.
I know I can set it to 0, before make an INC Application.Busy, but thats 2
More information about the Devel