SysUtils.BoolToStr(true) returns '-1'
Original Reporter info from Mantis: kupferstecher
-
Reporter name:
Original Reporter info from Mantis: kupferstecher
- Reporter name:
Description:
As said in the description, the function BoolToStr returns the string '-1', I would expect '1'.
System: Windows 7, tested with Laz 2.0.2 and a trunk version 2.1.0 Rev 61542, actually its an old issue.
Steps to reproduce:
program Project1;
uses
sysutils;
begin
writeln(sysutils.booltostr(true));
end.
Mantis conversion info:
- Mantis ID: 35856