On Thu, Mar 13, 2008 at 05:59:54PM +0000, Brad Stiles wrote:
> > Taking into consideration a declared close relativity between SQLite and
> > TCL, I would to suggest an improvement in boolean-type fields treatment.
> > In my opinion, field of that type should be treated equally, when it does
> > contain a values: "f", "false", 0, "no" - and, respectively: "t", "true",
> > 1, "yes".
>
> My understanding is that SQLite provides an extension mechanism for
> exactly this sort of thing, does it not?
Can you be more specific? Of course, there can be something which
I overlooked.
> Besides which, where do you stop? "Present", "Absent", "on", "off",
> "here", "there", ".t.", ".f.", "da", "nein"? What about non-zero values
> generally representing true?
Just look at the quoting from my previous post... what's there?
- something about TCL
- 2 pairs (4 values each) mentioned
My understanding is, that TCL uses just 2 pairs (3 values each) for
"binary-sort" variables (and not "niet", "nein", "off"...) - does it not?
Additional "f" / "t" can be added for PHP. So: no worries... ;)
--
pozdrawiam / regards
Zbigniew Baniewski
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users