这是我正在尝试做的一个例子.
set t SNS
set ${t}_top [commands that return value]
Run Code Online (Sandbox Code Playgroud)
想要将信息存储在$ {t} _top
puts “${t}_top”
? SNS_top (really want the data stored there?)
Run Code Online (Sandbox Code Playgroud)
以为是:$ {{$ t} _top},也许那是perl但{}里面的{}不起作用.
tcl ×1