Boolean values: Difference between revisions

m (minor correction)
Line 608:
* Any class reference type, using the "is" operator, the null reference gives false and any other reference gives true;
* Any user-defined type with an implicit conversion operator (opCast) either to bool or to a built-in type which itself can be converted to bool.
 
=={{header|Dc}}==
In dc there are no built in boolean values or functions.
Adopting the way C codes them appears to be a good idea: <code>0=FALSE</code> and <code>1=TRUE</code>.
 
=={{header|Delphi}}==
73

edits