[fpc-pascal] BoolToStr

Michael Van Canneyt michael at freepascal.org
Mon Aug 29 08:22:50 CEST 2022



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.


More information about the fpc-pascal mailing list