[Gambas-user] Behaviour FINALLY CATCH

Christof Thalhofer chrisml at deganius.de
Sun Apr 1 22:15:48 CEST 2018


Run this code and you will see everything is working as expected,
whether you comment out or delete 'Message("finally done")':

--8<--------------------------------------------------------------

Private Sub TestFinally()

    Dim f As Float

    f = 1 / 0

Finally
    Message("finally done")
Catch

    Message("Error: " & Error.Text)

End

--8<--------------------------------------------------------------


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180401/934b5b1c/attachment.sig>


More information about the User mailing list