Hi,
In 6.2.2 and older you could write strange things like Pos(1, 2) without a compile-time error.
Pos and other functions use
AnyString parameters and I added a missing
type check for those, but my check only allowed strings and not chars so
that why you got an error, sorry.
I've fixed this in Git and will upload a new build later.
Thanks for reporting.
Greetings,
Martijn