摘要:
proc ElementExists { arrayname element } {#-----------------------------------------------------# Test if a given element name exists in an array# Return 1 if array element exists, otherwise return 0 \# arrayname Name of array# element Name of element# if { ![array exists $arrayname] } { return 0 } 阅读全文
摘要:
The Tk command option acts on the "option database". [option add] pattern value ?priority? [option clear] option get window name class [option readfile] fileName ?priority? 阅读全文
摘要:
touch testfilels -l testfile-rw-r--r-- 1 yourname yourname 0 2011-04-05 05:44 testfilechmod u+wx testfilels -l testfile-rwxr--r-- 1 yourname yourname 0 2011-04-05 05:44 testfilechmod ug-x testfilels -l testfile-rw-r--r-- 1 yourname yourname 0 2011-04-05 05:44 testfilechmod a-r testfilels -l testfile 阅读全文
摘要:
It is used in Linux long directory listings. It consists of 10 characters. The first character shows the file type. Next 9 characters are permissions, consisting of three groups: owner, group, others. Each group consists of three symbols: rwx (in this order), if some permission is denied, then a das 阅读全文
摘要:
problem/usr/include/tcl8.4/tcl.h:416: error: ISO C++ 1998 does not support ‘long long’method:use tcl8.3 阅读全文
摘要:
To install the g77 Fortran compiler in Ubuntu 9.10 (Karmic Koala) just follow these simple steps.Open /etc/apt/sources.list and add the following Ubuntu 8.04 Hardy repositories:deb http://hu.archive.ubuntu.com/ubuntu/ hardy universedeb-src http://hu.archive.ubuntu.com/ubuntu/ hardy universedeb http: 阅读全文
摘要:
if { [catch {open $filn r } f ] } { Report 3 "Could not open initialisation file $filn" return 0 } set textin [split [ read $f ] "\n"] CloseFile $f 阅读全文
摘要:
winfo atom ?-displayof window? name winfo atomname ?-displayof window? id winfo cells window winfo children window winfo class window winfo colormapfull window winfo containing ?-displayof window? rootX rootY winfo depth window winfo exists window winfo fpixels window number winfo geometry window wi 阅读全文
摘要:
llength - Count the number of elements in a listSYNOPSISllength list 阅读全文
摘要:
fifile atime name ?time? file attributes name file attributes name ?option? file attributes name ?option value option value...? file channels ?pattern? file copy ?-force? ?--? source target file copy ?-force? ?--? source ?source ...? targetDir file delete ?-force? ?--? pathname ?pathname ... ? file 阅读全文