First page Back Continue Last page Overview Image

8.6 Data Structures

[341] dict filter $dict key|value ?pattern…?

Multiple patterns are combined by or. IOW the result is the union of the results for each pattern alone.

dict filter $opts script {key val} {

::tcl::mathop::in $key {-foo -bar -baz}

}

dict filter $opts key -foo -bar -baz