abhishek007p Active Member Licensed User Longtime User Jun 16, 2013 #1 Does B4A supports 'Finally' in exception handling ? like Code: Copy Try Catch Finally End Try Regards, abhishek
Does B4A supports 'Finally' in exception handling ? like Code: Copy Try Catch Finally End Try Regards, abhishek
thedesolatesoul Expert Licensed User Longtime User Jun 16, 2013 #2 No. Only Try/Catch/End Try Upvote 0
F Fercho New Member Aug 3, 2013 #3 Hi, ¿do you plan to support the finally statement? The usefullness for this for garbage collecting statement is long explained on the web, even PHP5 will include it. The alternative (try/catch inside try/catch) es inneficient to code. Upvote 0
Hi, ¿do you plan to support the finally statement? The usefullness for this for garbage collecting statement is long explained on the web, even PHP5 will include it. The alternative (try/catch inside try/catch) es inneficient to code.
Erel B4X founder Staff member Licensed User Longtime User Aug 3, 2013 #4 I believe that it will be added in the future. BTW, while 'finally' is useful in many cases I don't see how it is related to the GC? Upvote 0
I believe that it will be added in the future. BTW, while 'finally' is useful in many cases I don't see how it is related to the GC?
F Fercho New Member Aug 3, 2013 #5 Well, in the Finally section you usually free resources (close connections, close databases, free objects, unbind events,...) and all class of tasks that need to be done before returning to parent caller. Upvote 0
Well, in the Finally section you usually free resources (close connections, close databases, free objects, unbind events,...) and all class of tasks that need to be done before returning to parent caller.