Boolean values: Difference between revisions
→{{header|Arturo}}
(→{{header|MiniScript}}: extended example) |
Drkameleon (talk | contribs) |
||
Line 231:
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" }
|