[Gambas-user] Return & Finally
Tobias Boege
taboege at ...626...
Mon Dec 17 15:43:23 CET 2012
On Mon, 17 Dec 2012, John Rose wrote:
> I've just moved to Ubuntu Precise from Lucid so my brain is in a whirl!
>
> I have at the start of a sub:
> Inc Application.Busy
>
> I have at the end of a Sub:
> Finally
> Dec Application.Busy
>
> However, sometimes the Sub, a Return statement is executed. This appears
> to result in the
> "Dec Application.Busy" statement not being executed. What is the best
> method of ensuring that the
> "Dec Application.Busy" statement is executed
>
Putting it before the Return?
Regards,
Tobi
More information about the User
mailing list