pascaldragon at googlemail.com
Mon Aug 29 07:30:34 CEST 2022
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.
More information about the fpc-pascal