[Lazarus] Compilation error on an old source

Arí Ricardo Ody nightrider43 at gmail.com
Sun Jun 23 21:05:02 CEST 2024


Sorry pal. And everybody else. My mistake.

Soon after posting I understood where the error was. I'm sorry. I was hasty.

Thank you very much Jean Suzineau.


On Sun, Jun 23, 2024 at 9:25 AM Jean SUZINEAU via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> It's likely because it was written for an older version of the function
> IsEmptyStr,
> the current one takes an array of char as second parameter.
>
> So I think IsEmptyStr(auxstr,'0') should become IsEmptyStr(auxstr,['0'])
>
> https://www.freepascal.org/docs-html/rtl/strutils/isemptystr.html
>
> --
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240623/20c4e379/attachment.htm>


More information about the lazarus mailing list