Use Name expression instead of macro substitution whenever you can.
if tagno(tntx) > 0
delete tag (tntx)
endi
>Hi,
>
>I want to check tag before deleting. If exist than delete. But following command not working properly. Its giving error varibale not found. while if I am using dele tag &tntx its deleting but in this case if tag not present error coming I want to avoid from error Tag not found.
>
>if tag (&tntx)
> delete tag &tntx
>endi
>
>Please help.
>
>TIA
--sb--