上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 82 下一页
摘要: 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 } 阅读全文
posted @ 2011-04-11 21:27 greencolor 阅读(215) 评论(0) 推荐(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? 阅读全文
posted @ 2011-04-10 20:57 greencolor 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2011-04-05 20:54 greencolor 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2011-04-05 20:36 greencolor 阅读(210) 评论(0) 推荐(0) 编辑
摘要: problem/usr/include/tcl8.4/tcl.h:416: error: ISO C++ 1998 does not support ‘long long’method:use tcl8.3 阅读全文
posted @ 2011-04-05 14:38 greencolor 阅读(1029) 评论(0) 推荐(0) 编辑
摘要: 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: 阅读全文
posted @ 2011-04-04 21:53 greencolor 阅读(645) 评论(0) 推荐(0) 编辑
摘要: if { [catch {open $filn r } f ] } { Report 3 "Could not open initialisation file $filn" return 0 } set textin [split [ read $f ] "\n"] CloseFile $f 阅读全文
posted @ 2011-04-03 21:57 greencolor 阅读(1754) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2011-03-28 01:01 greencolor 阅读(388) 评论(0) 推荐(0) 编辑
摘要: llength - Count the number of elements in a listSYNOPSISllength list 阅读全文
posted @ 2011-03-27 19:46 greencolor 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2011-03-27 19:21 greencolor 阅读(851) 评论(0) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 82 下一页