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]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to