<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Oct 7, 2014 at 3:58 PM, JB <span dir="ltr"><<a href="mailto:josebenedito@gmail.com" target="_blank">josebenedito@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I usually use integer cast to boolean values, sample:</div></blockquote><div>[...] </div></div><div><br></div><div><div>But the main ideia to change it is allow any type supported by SysUtils, like integer (-1/0 or 0/1), strings (true/false, yes/no, y/n, sim/não or other) etc.</div><div><br></div><div>My patch keeps the current behavior of the INI class, but allows the programmer to internationalize that to the your favorite way. You prefer 0/1, I prefer true/false, other prefer yin/yang etc., my patch allow to use in any way. ;)</div></div><div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>