我正在编写主脚本,该脚本正在对文件(如foo.tcl中的foo.tcl )进行格式化,我们有一些array变量声明了eg。source foo.tclputs ${::foo($key)} ;# can't read "::foo($key)": no such element in arrayputs ${::foo(john)} ;# not giving error
如何访问将动态键
(这是一个nagelfar插件--它是用tcl编写的tcl分析器,这就是为什么$x包含tcl代码的原因。)在tcl shell中:proc {::$p} args {[subst { foo }]} % lindex$x 3 0
list element in braces followed by "]" instead of sp
我正在准备构建一个web应用程序(app),并且对使用DHTML和TCL很感兴趣。我在TCL中构建应用程序已经有一段时间了,并且对使用这种语言感到很舒服。我有使用Visual Studio (VS)编写web应用程序的经验,其中服务器端代码是用C#编写的。VS让这一切变得非常简单和直接。有没有人对IDE有什么建议,可以让我编写HTML/Javascript客户端代码和TCL</em