Boolean values: Difference between revisions

Content added Content deleted
(→‎{{header|AWK}}: Link to current URI of manual of gawk.)
Line 75: Line 75:


=={{header|AWK}}==
=={{header|AWK}}==
There is not keyword for true or false in awk. In awk, any nonzero numeric value or any nonempty string value is true. Any other value (zero or the null string "") is false. By these rules, the string constant "0" is really true, because it is not null.
{{works with|gawk}}

There is not keyword for true or false in awk. In awk, any nonzero numeric value or any nonempty string value is true. Any other value (zero or the null string "") is false. [...] the string constant "0" is actually true, because it is non-null.
[http://www.gnu.org/manual/gawk/gawk.html#Truth-Values]
* Reference: [http://www.gnu.org/software/gawk/manual/html_node/Truth-Values.html#Truth-Values Truth Values], from manual of [[gawk]]


=={{header|AppleScript}}==
=={{header|AppleScript}}==