I wrote the following code in itcl
if {[info exists ::xtg::triggers::match$arg]} {
eval delete object ::xtg::triggers::match$arg
}
this code should check if there exists an object of name ::xtg::triggers::match$arg and delete it if it exists. The problem is that I get the following error in my shell : " command "match0" already exists in namespace "::xtg::Triggers" " and not 1 or 0 as written in the manual of info exists command.
How can I fix this problem?