[fpc-pascal] booltostr, compability issue

Marco van de Voort marcov at stack.nl
Fri Dec 29 23:53:04 CET 2006

I just fixed booltostr in 2.1.1 to be D7 compat. 

This is one of the stupidest Delphi changes I ever saw, but anyway,
compability is compability.

Booltostr now returns "-1" and "0", and only "True" and "False" if you pass
true to the 2nd parameter which is default false.  You can influence the
outcome via the new trueboolstr and falseboolstr dynarrays.

So people suddenly having problems with e.g. own customing streaming or
exporting systems in 2.1.1, check if you use booltostr and replace it with a
(trivial) own implementation.

More information about the fpc-pascal mailing list