hello
来自「跑leach需要的」· 代码 · 共 23 行
TXT
23 行
#!/bin/sh# the next line restarts using wish \exec wish "$0" "$@"# hello --# Simple Tk script to create a button that prints "Hello, world".# Click on the button to terminate the program.## RCS: @(#) $Id: hello,v 1.3 2001/10/29 16:42:20 dkf Exp $# # The first line below creates the button, and the second line# asks the packer to shrink-wrap the application's main window# around the button.button .hello -text "Hello, world" -command { puts stdout "Hello, world"; destroy .}pack .hello# Local Variables:# mode: tcl# End:
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?