ByteBool(i) always converts to numerical value of 1
Original Reporter info from Mantis: ppopov99
-
Reporter name: Peter Popov
Original Reporter info from Mantis: ppopov99
- Reporter name: Peter Popov
Description:
the following code:
var
i: Byte;
begin
i := 2;
Writeln(Bytebool(i);
end.
will print 1. Instead, it should print 2. In other words, conversion of byte variablt to ByteBool always sets the value to 1.
Mantis conversion info:
- Mantis ID: 10233
- Version: 2.2.0
- Fixed in version: 2.4.0
- Fixed in revision: 9898 (#8349cde7)