Boolean values: Difference between revisions

Content added Content deleted
(Added Commodore BASIC - Regrouped other BASIC variants under BASIC.)
Line 2,143: Line 2,143:


=={{header|Smalltalk}}==
=={{header|Smalltalk}}==
Use "true" and "false".
Smalltalk uses the Boolean class, which has two subclasses (True and False). <tt>true</tt> and <tt>false</tt> are singleton instances of those classes. E.g. an expression like <tt>5 = 5</tt> returns <tt>true</tt>.
<br>Smalltalk uses the Boolean class, which has two subclasses (True and False). <tt>true</tt> and <tt>false</tt> are singleton instances of those classes. E.g. an expression like <tt>5 = 5</tt> returns <tt>true</tt>.


=={{header|SNUSP}}==
=={{header|SNUSP}}==