[Gambas-user] Return & Finally

John Rose john.aaron.rose at ...626...
Mon Dec 17 15:40:19 CET 2012


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

-- 
Regards,
John
01902 331266





More information about the User mailing list