Boolean values: Difference between revisions

m
(→‎{{header|AWK}}: Link to current URI of manual of gawk.)
Line 75:
 
=={{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.
 
There is notno 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. ByValues thesecontaining rules,only thezeros stringmay constantproduce "0"true isor reallyfalse truedepending on whether they are obtained from the datasource or by assignment, becauseand itdifferent results may be obtained according to which version of awk is notbeing nullused.
* Reference: [http://www.gnu.org/software/gawk/manual/html_node/Truth-Values.html#Truth-Values Truth Values], from manual of [[gawk]]
 
* Reference: [http://awk.freeshell.org/truth AWK Truth values]
 
=={{header|AppleScript}}==