Boolean values: Difference between revisions
Content added Content deleted
m (→{{header|R}}: Text clarification) |
(Modula-3) |
||
Line 151:
=={{header|Metafont}}==
Metafont has the type <tt>boolean</tt>; a boolean variable can be <tt>true</tt> or <tt>false</tt>. Using non boolean values (or expressions that do not evaluate to a boolean value) results in a recoverable error; by default, any non-boolean value is interpreted as false.
=={{header|Modula-3}}==
Similar to [[Ada]], Modula-3 has a built-in <tt>BOOLEAN</tt> type defined as
<lang modula3>TYPE BOOLEAN = {FALSE, TRUE}</lang>
=={{header|Objective-C}}==
|