On Sun, 28 Aug 2022, James Richters via fpc-pascal wrote:

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.

The reason is Delphi compatibility.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to