Boolean values: Difference between revisions
→{{header|EMal}}
Line 1,073:
=={{header|EMal}}==
<syntaxhighlight lang="emal">
^|EMal has a dedicated Logical type
|
|
|from/to int (0,1) or text("⊥", "⊤") are allowed.
|^
logic booleanTrue = true
Line 1,089:
writeLine("explicit conversion from text")
end
</syntaxhighlight>
{{out}}
Line 1,099 ⟶ 1,097:
explicit conversion from integer
explicit conversion from text
1
</pre>
|