Boolean values: Difference between revisions

Content added Content deleted
(Forth)
Line 49: Line 49:
# value: "a"</lang>
# value: "a"</lang>


=={{lang|Forth}}==
=={{header|Forth}}==
In conditionals, zero is false, non-zero is true. There are predefined constants for the canonical forms (all bits set/clear).
In conditionals, zero is false, non-zero is true. There are predefined constants for the canonical forms (all bits set/clear).
<lang forth>
<lang forth>