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
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…