Boolean values: Difference between revisions

Content added Content deleted
No edit summary
Line 226: Line 226:


</lang>
</lang>

=={{header|Arturo}}==

In Arturo, there are constants false and true to represent their respective values (that also implicitly convert to 0 and 1).

<lang arturo>a true
b false

if a { print "yep" } { print "nope" }
if b { print "nope" } { print "yep" }</lang>

{{out}}

<pre>yep
yep</pre>


=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==