Boolean values: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|smart BASIC}}: Remove vanity tags) |
|||
Line 1,672: | Line 1,672: | ||
{{out}} |
{{out}} |
||
<pre>false</pre> |
<pre>false</pre> |
||
=={{header|Simula}}== |
|||
Simula has <tt>true</tt> and <tt>false</tt> keywords, representing the only values of type <tt>boolean</tt>. There are no automatic conversions from any other types into <tt>boolean</tt>, and it is a compile-time error to use any type other than <tt>boolean</tt> in a place that expects a <tt>boolean</tt> (e.g. if-statement condition, while-statement condition, operand of a logical operator, etc.). |
|||
=={{header|Slate}}== |
=={{header|Slate}}== |