Boolean values: Difference between revisions

m
→‎{{header|Metafont}}: only true and false can be used
m (→‎{{header|Octave}}: added 0 and not-0 as usable for false and true)
m (→‎{{header|Metafont}}: only true and false can be used)
Line 101:
 
=={{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|Objective-C}}==