Version 5 of ||

Updated 2014-01-25 15:16:45 by dkf

expr logical "or" operator, counterpart to &&. Returns falsity if both arguments are boolean false, and truth otherwise. Note that this operator short-circuits, and does not evaluate its second argument if the first is true. See | for bitwise "or".

expr { [a b c] || [d e f] }

Note that this operator does not have a command equivalent in tcl::mathop; use the if command instead.