On Tue, Oct 7, 2014 at 3:58 PM, JB <josebened...@gmail.com> wrote:

> I usually use integer cast to boolean values, sample:
>
[...]

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.

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. ;)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to