Jump to content

Boolean values: Difference between revisions

m
imported>KayproKid
m (→‎{{header|S-BASIC}}: fixed minor formatting issue)
imported>KayproKid
Line 2,464:
</syntaxhighlight>
 
 
In this case, <code>0.bool</code> is false, and <code>n.bool</code> with n not equal to 0 is true.
=={{header|Scala}}==
Booleans in Scala are given by the literals <code>true</code> and <code>false</code>, case sensitive, which are the only instances of the class <code>Boolean</code>.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.