Boolean values: Difference between revisions
Content added Content deleted
(Added Idris Solution) |
mNo edit summary |
||
Line 1,316: | Line 1,316: | ||
Of course, in Orwellian terms, the above '''false''' statements are '''true''', but REXX isn't an Eric Arthur Blair reader. |
Of course, in Orwellian terms, the above '''false''' statements are '''true''', but REXX isn't an Eric Arthur Blair reader. |
||
<br><br> |
<br><br> |
||
=={{header|Ring}}== |
|||
<lang ring> |
|||
x = True |
|||
y = False |
|||
see "x and y : " + (x and y) + nl |
|||
see "x or y : " + (x or y) + nl |
|||
see "not x : " + (not x) + nl |
|||
</lang> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |