People, I think that true and yes are enough, the "y" value is superfluous:
bool Config::asBoolean(const ConfigFile::String &value)
{
return (atoi(value.data()) != 0) ||
value.equalsNoCase("true") ||
value.equalsNoCase("yes") ||
value.equalsNoCase("y");
}
Soon, we will have to add "t" as an abbrev for "true" and so on. I think
that many ways to specify the same thing leads to confusion.
C.
---
Claudio Valderrama C. - www.cvalde.net
Consultant, SW developer.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel