Boolean values: Difference between revisions
Content deleted Content added
Added Cherrycake Language |
|||
Line 426:
PRINT FALSE
PRINT TRUE</syntaxhighlight>
==={{header|Cherrycake}}===
The boolean value of true in Cherrycake is represented with a 'true' keyword, and the boolean value of false in Cherrycake is represented with a 'false' keyword. Booleans can also be represented with other types, such as binary and integers. In binary types, 0x01 and 0b01 represent true, and 0x00 and 0b00 represent false. In integer types, 1 represents true and 0 represents false.
==={{header|Commodore BASIC}}===
|