iTest
The double substitution is for substituting 2 variables at a time. It can be done by giving the following syntax: Syntax: puts [subst \$device[subst $i]] Here, device1 and device2 are the names given for 2 variables