以下内容整理自网络,试验可用

1、下载tcl解释器,并安装
http://www.activestate.com/activetcl

2、tclsh85.exe
直接双击运行bin目录下的tclsh85.exe
(wish85.exe:包含了tclsh 和 tk两部分)


3、创建一个简单的tcl脚本:E:/tcl/hello.tcl,输入内容如下:
package require Tcl
package require Tk
set a "hello world!"
puts $a
然后在tclsh85.exe的提示符下输入:source E:/tcl/hello.tcl,运行效果如下图:
tcl脚本环境搭建——windows下

 

4、bin/teacup.exe,可用来安装package包

 

5、tcl语法入门:Tcl train.pdf

 

参考:http://blog.chinaunix.net/uid-7762106-id-146878.html

 

在windows下把tcl编译为exe程序

http://blog.163.com/zhang_231/blog/static/109599520102258594594/

 

相关文章:

  • 2021-09-26
  • 2022-12-23
  • 2021-05-21
  • 2021-12-09
  • 2022-01-04
  • 2022-01-08
  • 2021-11-30
  • 2021-11-22
猜你喜欢
  • 2021-10-23
  • 2021-12-09
  • 2021-06-24
  • 2021-08-20
  • 2022-01-07
  • 2021-04-02
相关资源
相似解决方案