dbf.boolean

Authors Carlos Santander Bernal
Version 0.2
Date February 5, 2013
History
  • Version 0.2 - February 5, 2013
    • Updated for D2
    • Boolean.toString now returns "T"/"F" instead of "True"/"False"
  • Version 0.1n - May 23, 2006: Removed Mango dependency
  • Version 0.1 - May 18, 2006: Initial release
License zlib/libpng
class Boolean;

Simple class for boolean values

The sole purpose of this class is provide a means to define an undefined boolean. I thought about using an enum, but for some reason this felt better.

static Boolean True;
static Boolean False;
static Boolean Undefined;

the only allowed values

string toString();

Returns a string representation

Undefined is represented as '?'