<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Aug 27, 2017 at 2:37 AM, <span dir="ltr"><<a href="mailto:noreply@z505.com" target="_blank">noreply@z505.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Why borland chose the bool to not be 100 percent compatible, and only 50 percent compatible?<br>
<br>
Bool in delphi:<br>
true = -1<br>
<br>
Bool in C:<br>
true = ($FFFFFFFF) 1<br>
<br>
Why not just make it exactly compatible, there must be some underlying (possibly obnoxious) reason for this mess.</blockquote><div><br></div><div>They are compatible, if you declare like this:<br></div><div>true = (not false);</div><div><br></div><div>thanks,</div><div>Dmitry</div></div></div></div>