<div dir="auto"><div><div class="gmail_quote"><div dir="ltr">Gerhard Scholz <<a href="mailto:gs@g--s.de">gs@g--s.de</a>> schrieb am Sa., 19. Mai 2018, 19:51:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Afaik, the bool types (longbool, wordbool, bytebool) come from the C <br>
language and are mostly used to interface with C libraries (for example: <br>
windows). The definitions there are: 0 means FALSE, anything else means <br>
TRUE. Normally C routines return a dword/word/byte filled with ones for TRUE <br>
and expect something not 0 as TRUE. So, the definition comes from C. As long <br>
Pascal programmers want to use libraries written in C, this definition <br>
should not be changed in the Pascal compiler.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">For glib that is not true. See my quote from their documentation. Also that library is the main reason that the Boolean32 type exists (Boolean16 and Boolean64 were logical extensions then). </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>