Boolean values: Difference between revisions

fixing the syntaxhighlight tag in the Rockstar section I just added
(implementing more simple things in my new favorite language, Rockstar, which I just started learning.)
(fixing the syntaxhighlight tag in the Rockstar section I just added)
Line 2,249:
=={{header|Rockstar}}==
There are several synonyms for true and false. These include yes and no, or right and wrong. Therefore, to make a variable called Alice true and a variable called Bob false, you can write this.
<codesyntaxhighlight lang="rockstar">Alice was right.
Bob was wrong.</codesyntaxhighlight>
 
=={{header|Ruby}}==
The only values in Ruby that are false are: <code>false</code> and <code>nil</code>. They have synonyms <code>FALSE</code> and <code>NIL</code>.
61

edits