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@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus