Am 29.08.2022 um 01:41 schrieb James Richters via fpc-pascal:
I'm curious if there is a way to search the FPC version history of changes for
BoolToStr to see why it was changed, and see if there is a valid reason not to
change it back. it was obviously changed from the way the documentations is at
some point. It really seems to me that if it was that important that someone
had a function that output a 0 or a -1, the only way it makes sense is if it's
an integer, not a string.
This was done in 2006 (commit
https://gitlab.com/freepascal.org/fpc/source/-/commit/4264f5d0414 ) for
Delphi compatibility and thus there is *no valid reason* to change it back.
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal