<p>Am 26.08.2017 07:25 schrieb <<a href="mailto:noreply@z505.com">noreply@z505.com</a>>:<br>
><br>
> What about the BOOL issue..<br>
><br>
> We know that Boolean in fpc/delphi is not compatible with a C bool<br>
><br>
> But it gets worse than that: even fpc/delphi's bool is not always compatible (but is sometimes).<br>
><br>
> For example:<br>
> <a href="http://blog.delphi-jedi.net/2008/09/25/bool-boolean-and-integer/">http://blog.delphi-jedi.net/2008/09/25/bool-boolean-and-integer/</a><br>
><br>
> When one must use Integers to do boolean related programming tasks, it makes me want to quit programming ;)<br>
></p>
<p>In FPC you can use the types Boolean16, Boolean32 and Boolean64 to get a type that behaves like Boolean, but has a different size.</p>
<p>Regards,<br>
Sven</p>