I create a namespace where the name is contained in one variable:
set fg_path fg_$path
namespace eval $fg_path {
variable Elem 17
puts "--> [namespace current]"
}
But I am not able to access the Elem value or to set it, for example this doesn't works:
set ::$fg_path::Elem [dict create]
Thanks for any suggestion. John