Boolean values: Difference between revisions
Content deleted Content added
→{{header|Python}}: None is False. |
|||
Line 123:
<pre>% if {""} then {puts true} else {puts false}
expected boolean value but got ""</pre>
Test for the boolean value of a string can be stuff like
if {string is false $string} ...
which will test for "no" or "NO" or "0" or "False" or ...
|