Version 5 of In

Updated 2007-04-26 07:35:12 by suchenwi

From 8.5, expr operator for list inclusion test.

 if {$el in $list} ...

is equivalent to, but much nicer than

 if {[lsearch -exact $list $el] >= 0} ...

rs 2007-04-26