[fpc-devel]Delphi incompatibility again!

Jonas Maebe jonas at zeus.rug.ac.be
Mon Apr 2 16:12:44 CEST 2001


On Mon, 2 Apr 2001, Marco van de Voort wrote:

> > The value of true in a boolean is undefined. All checks for booleans are done using checks
> > for zero or not zero.
>
> No. They can also get compared to other booleans, and those types exist for
> C compability, and could be compared with external C vars ?

C has no boolean type. And C++'s bool is just a dirty hack (implicit type
casting between int and bool is perfectly possible).


Jonas





More information about the fpc-devel mailing list