[fpc-pascal] Boolean types
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Fri Jan 3 09:59:04 CET 2014
What is assignment-compatible with a bytebool etc.?
My reading of the manual suggested that it should be possible to assign
numeric zero or non-zero, but
fPB1L: bytebool;
..
fPB1L := 0;
b5500centralcontrol.pas(119,18) Error: Incompatible types: got
"ShortInt" expected "ByteBool"
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list