[Gambas-user] "If Error" is ambiguous
Christof Thalhofer
chrisml at deganius.de
Mon Sep 9 17:19:11 CEST 2019
Am 09.09.19 um 16:14 schrieb T Lee Davidson:
> It does seem logical that Error.Clear should also reset the error flag.
Okay, that's what I think, too. It's not understandable that after an
Error.Clear Error still shows true.
But will a correction break a lot of existing code? I don't think so.
Who was aware of that, checked for Error.Code. Who was not, produced
potentially unreliable code which should have caused errors meanwhile.
The code of Gambas itself is full of "If Error Then".
Alles Gute
Christof Thalhofer
--
Dies ist keine Signatur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190909/82b7db94/attachment.sig>
More information about the User
mailing list