upvar

upvar makes the variable by that name in the procedure frame given by level (or at global level, if level is #0)

upvar #0 $httpObjName httpObj

==============

global httpObj

set httpObj $httpObjName

原文地址:https://www.cnblogs.com/greencolor/p/2725271.html