<HTML><BODY><p style="margin-top: 0px;" dir="ltr">How does that trick work, it is not very intuitive to understand</p>
<p dir="ltr">Please explain</p>
<div id="mail-app-auto-default-signature">
<p dir="ltr">--<br> Thanks<br> Brian</p>
</div>Sunday, 26 July 2020, 11:49AM -07:00 from Christof Thalhofer <a href="mailto:chrisml@deganius.de">chrisml@deganius.de</a>:<br><br><blockquote id="mail-app-auto-quote" cite="15957893490000019501" style="border-left:1px solid #0878BD; margin:0px 0px 0px 10px; padding:0px 0px 0px 10px;">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div >
<base target="_self" href="https://e-aj.my.com/" />
<div id="style_15957893490000019501_BODY">Btw: I saw something I do not recommend for testing situations.<br>
<br>
You used 'Try' together with 'If Error Then'. I can only say that I have<br>
a bad feeling with that. Because at minimum Error should be cleared<br>
afterwards with Error.Clear, which does not happen in your code.<br>
<br>
I add a version of the function CompareStringArray to show that the same<br>
can be achieved without 'Try' through the nice (or ugly depending on the<br>
view) trick:<br>
<br>
bResult = sA[i] = sB[i]<br>
<br>
Alles Gute<br>
<br>
Christof Thalhofer<br>
<br>
-- <br>
Dies ist keine Signatur<br>
</div>
<div><br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" target="_blank" >http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
<br>
</div>
<base target="_self" href="https://e-aj.my.com/" />
</div>
</div>
</blockquote></BODY></HTML>