Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-12

booltostr, compability issue

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort

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.

Reply by email