Boolean values: Difference between revisions

Line 76:
=={{header|AWK}}==
{{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.
 
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]