[fpc-pascal] arm and negative float

Henry Vermaak henry.vermaak at gmail.com
Wed Apr 11 15:45:06 CEST 2007


> [...]
> >
> > 2)  BoolToStr returns '0' for False and '-1' for True...
> >
> [...]
>
> That was intentional change in r5744. Changelog says
> * booltostr now D7 compat.
> so that's it... You have to pass 2nd argument "true" for BoolToStr now
> to get 'False' or 'True' results (or whatever you set in TrueBoolStrs).
>
> Michalis

must admit that i didn't even look into this, just concocted my own
function quickly.  thanks for clarifying.

henry



More information about the fpc-pascal mailing list