[Gambas-user] Test Module, First try
brian at westwoodsvcs.com
Sun Jul 26 22:17:49 CEST 2020
How does that trick work, it is not very intuitive to understand
Brian Sunday, 26 July 2020, 11:49AM -07:00 from Christof Thalhofer chrisml at deganius.de :
>Btw: I saw something I do not recommend for testing situations.
>You used 'Try' together with 'If Error Then'. I can only say that I have
>a bad feeling with that. Because at minimum Error should be cleared
>afterwards with Error.Clear, which does not happen in your code.
>I add a version of the function CompareStringArray to show that the same
>can be achieved without 'Try' through the nice (or ugly depending on the
>bResult = sA[i] = sB[i]
>Dies ist keine Signatur
>----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User