Is EMBT's Boolean dockwiki wrong?
Is EMBT's Boolean dockwiki wrong?
http://docwiki.embarcadero.com/Libraries/XE7/en/System.Boolean
Is states:
A Boolean value is considered True when its ordinality is 1 and False when it's ordinality is 0 (zero).
Wouldn't a more accurate statement be...
A Boolean value is considered False when it's ordinality is 0 (zero) and True when it's ordinality is not 0 (zero).
When I do a BoolToStr I see -1 (negative 1) when True not 1 but I always see 0 (zero) when false.
Wat am I not understanding?
http://docwiki.embarcadero.com/Libraries/XE7/en/System.Boolean
http://docwiki.embarcadero.com/Libraries/XE7/en/System.Boolean
Is states:
A Boolean value is considered True when its ordinality is 1 and False when it's ordinality is 0 (zero).
Wouldn't a more accurate statement be...
A Boolean value is considered False when it's ordinality is 0 (zero) and True when it's ordinality is not 0 (zero).
When I do a BoolToStr I see -1 (negative 1) when True not 1 but I always see 0 (zero) when false.
Wat am I not understanding?
http://docwiki.embarcadero.com/Libraries/XE7/en/System.Boolean
Comments
Post a Comment