So I've been looking at this http://gambasdoc.org/help/lang/catch
My question is... Can the sub/function continue after catch has been
declared, or should catch always be the last thing in the sub?
For instance
PUBLIC SUB Save_a_file()
DIM sStr AS String
File.Save(/tmp/test,sStr)
CATCH
PRINT
Am Donnerstag, den 18.06.2009, 15:31 -0500 schrieb M0E Lnx:
So I've been looking at this http://gambasdoc.org/help/lang/catch
My question is... Can the sub/function continue after catch has been
declared, or should catch always be the last thing in the sub?
For instance
PUBLIC SUB
Ok... that clears things up..
I know for a fact that FINALLY has to come before CATCH (if present)
otherwise, the project wont compile...
Thanks for the clearing this up for me... it's been one of those tings
in the back of my head. ;)