<div dir="ltr"><div>Sorry pal. And everybody else. My mistake. <br></div><div><br></div><div>Soon after posting I understood where the error was. I'm sorry. I was hasty.</div><div><br></div><div>Thank you very much Jean Suzineau.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 23, 2024 at 9:25 AM Jean SUZINEAU via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It's likely because it was written for an older version of the function <br>
IsEmptyStr,<br>
the current one takes an array of char as second parameter.<br>
<br>
So I think IsEmptyStr(auxstr,'0') should become IsEmptyStr(auxstr,['0'])<br>
<br>
<a href="https://www.freepascal.org/docs-html/rtl/strutils/isemptystr.html" rel="noreferrer" target="_blank">https://www.freepascal.org/docs-html/rtl/strutils/isemptystr.html</a><br>
<br>
-- <br>
_______________________________________________<br>
lazarus mailing list<br>
<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a><br>
<a href="https://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">https://lists.lazarus-ide.org/listinfo/lazarus</a><br>
</blockquote></div>