<div dir="ltr">Good morning all,<div><br></div><div>I finally found the time to sort out the misbehaving Match routine:</div><div><br></div><div><div>> To be clear: You get the right result with the code snipped I sent and repeat below?</div><div><br></div><div>> mask:="*.Mod"</div><div>> name:="ABCD.Mod"</div><div>> name:="123";</div><div>> IF Match(mask, name) THEN ...</div></div><div><br></div><div>You were quite right Peter, I did not. And when I did I saw.</div><div><br></div><div>So now I fixed it, mainly since the same broken routine is used in FATFiles.Mod and in AOS Strings.Match. So once everybody approves, the fix should go there also.</div><div><br></div><div>I have attached a test module for the match procedure as such, with Peters test hard coded. </div><div>And I have attached a modified FileDir.Mod that you can compile and test in your own system.</div><div><br></div><div>Please let me know.</div><div><br></div><div>Then I will now pay attention to the trap problems I saw, or thought I saw.</div><div><br></div><div>Cheers,</div><div><br></div><div>j.</div><div><br></div></div>