摘要: 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) 编辑
摘要: file join a b /foo bar/foo/bar=>file join /foo bar/foo/bar=>file join aaa bbb /foo bar/foo/bar=>file join aaa bbb foo baraaa/bbb/foo/bar=>file join aaa bbb /foo bar/foo/bar=>file join aaa bbb /foo /bar/bar 阅读全文
posted @ 2011-03-27 19:16 greencolor 阅读(278) 评论(0) 推荐(0) 编辑
摘要: lappend - 将元素添加到列表末尾 语法lappend varName ?value value value ...? 阅读全文
posted @ 2011-03-27 18:55 greencolor 阅读(277) 评论(0) 推荐(0) 编辑
摘要: catch命令可以用来捕获一个错误,一个没有捕获的错误将终止脚本的执行。error会产生一个错误,error命令产生的错误如果没有被catch捕获将会导致脚本的终止。 catch命令格式:catch script ?resultVarName? ?optionsVarName?error命令格式:error message ?info? ?code? 阅读全文
posted @ 2011-03-27 16:42 greencolor 阅读(425) 评论(0) 推荐(0) 编辑