Anonymous user
Boolean values: Difference between revisions
Added MiniScript implementation
Drkameleon (talk | contribs) No edit summary |
(Added MiniScript implementation) |
||
Line 1,257:
*empty string: <code>false</code>
*boolean: no conversion performed
=={{header|MiniScript}}==
In MiniScript, numbers represent boolean values, with additional fuzzy logic for degrees of truth.
<lang MiniScript>boolTrue = 1
boolFalse = 0
if boolTrue
print "Its's true!"
end if
if !boolFalse
print "It's not true!"
end if</lang>
=={{header|Mirah}}==
|