Re: [fpc-pascal] findfirst wildcards...

2014-12-04 Thread Bart
On 12/3/14, waldo kitty wrote: > On 12/3/2014 5:09 PM, Bart wrote: Windows.FindFirstFile however treats ? as exactly 1 character AFAIK. And is I'm not mistake this was also the case with TP in the old days. >> Seems I was mistaken. Sorry for the confusion. FF with mask 'x?.tst' wi

[fpc-pascal] AnsiStrLComp AnsiStrLIComp

2014-12-04 Thread Mattias Gaertner
Hi, According to the docs AnsiStrLComp treats #0 as normal characters, which sounds as if it does not stop at #0. Does it stop at #0 or does it not? http://www.freepascal.org/docs-html/rtl/sysutils/ansistrlcomp.html The doc of AnsiStrLIComp says "compares the first MaxLen characters", which sound