Version 10 of !

Updated 2009-02-11 18:15:43 by dgp

expr boolean negation operator

returns truth (1) if the argument is a falsehood, and falsity (0) of the argument is true

For bitwise "not" use the ~ operator.


AMG: To convert a value to its canonical boolean representation (i.e. 0 or 1), you can use [expr {!!$val}].

DGP: The bool() function is the recommended way these days.