Boolean values: Difference between revisions

Content added Content deleted
(Add PL/M)
(added ReScript)
Line 2,121: Line 2,121:


As the last true value implies, pretty much any other type will evaluate to true. This is important to remember if you're used to a language where the value "0" is considered to be false -- in REBOL, it's true.
As the last true value implies, pretty much any other type will evaluate to true. This is important to remember if you're used to a language where the value "0" is considered to be false -- in REBOL, it's true.

=={{header|ReScript}}==

A ReScript boolean has the type '''bool''' and can be either '''true''' or '''false'''.

ReScript's true/false compiles into a JavaScript true/false.


=={{header|Retro}}==
=={{header|Retro}}==