亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? reftcl.tex

?? 很不錯的tcl編程實例
?? TEX
?? 第 1 頁 / 共 2 頁
字號:

\Xi{\kwd{puts} [|-nonewline|] [<fileId>] <string>}
Write string to <fileId> (default |stdout|) optionally omitting newline char.

\Xi{\kwd{read} [|-nonewline|] <fileId>}
Read all remaining bytes from <fileId>, optionally discarding last
character if it is a newline.

\Xi{\kwd{read} <fileId> <numBytes>}
Read <numBytes> bytes from <fileId>.

\Xi{\kwd{seek} <fileId> <offset> [<origin>]}
Change current access position on <fileId>  to <offset> bytes from <origin>
which may be |start|, |current|, or |end|.

\Xi{\kwd{tell} <fileId>}
Return current access position in <fileId>.

\end{enum}

\section{Lists}

\begin{enum}{1cm}

\Xi{\kwd{concat} [<arg> <arg> ...]}
Returns concatenation of each list <arg> as a single list.

\Xi{\kwd{join} <list> [<joinString>]}
Returns string created by joining all elements of <list> with <joinString>.

\Xi{\kwd{lappend} <varName> [<value> <value> ...]}
Appends each <value> to the end of the list stored in <varName>.

\Xi{\kwd{lindex} <list> <index>}
Returns value of element at <index> in <list>.

\Xi{\kwd{linsert} <list> <index> <element> [<element> ...]}
Returns new list formed by inserting given new elements at <index> in <list>.

\Xi{\kwd{list} [<arg> <arg> ...]}
Returns new list formed by using each <arg> as an element.

\Xi{\kwd{llength} <list>}
Returns number of elements in <list>.

\Xi{\kwd{lrange} <list> <first> <last>}
Returns new list from slice of <list> at indices <first> through
<last> inclusive.

\Xi{\kwd{lsearch} [<mode>] <list> <pattern>}
Returns index of first element in <list> that matches <pattern> (-1 for 
no match).  Mode may be |-exact|, |-glob| (default), or |-regexp|.

\Xi{\kwd{lsort} [<switches>] <list>}
Returns new list formed by sorting <list> according to <switches>. These are

\begin{enum}{3.5cm}
\Xi{\quad |-ascii|} string comparsion (default)
\Xi{\quad |-integer|} integer comparison 
\Xi{\quad |-real|} floating-point comparision
\Xi{\quad |-increasing|} sort in increasing order (default)
\Xi{\quad |-decreasing|} sort in decreasing order
\Xi{\quad |-command| <cmd>} Use <command> which takes two arguments
and returns an integer less than, equal to, or greater than zero.
\end{enum}

\Xi{\kwd{split} <string> [<splitChars>]}
Returns a list formed by splitting <string> at each character in <splitChars>.

\end{enum}

{\bf Note:} list indices start at 0 and the word |end| may be
used to reference the last element in the list.

\section{Arrays}

\begin{enum}{1cm}

\Xi{\kwd{array anymore} <arrayName> <searchId>}
Returns 1 if anymore elements are left to be processed in array search
<searchId> on <arrayName>, 0 otherwise.

\Xi{\kwd{array donesearch} <arrayName> <searchId>}
Terminates the array search <searchId> on <arrayName>.

\Xi{\kwd{array exists} <arrayName>}
Returns 1 if <arrayName> is an array variable, 0 otherwise.

\Xi{\kwd{array get} <arrayName>}
Returns a list where each odd element is an element name and the
following even element its corresponding value.

\Xi{\kwd{array names} <arrayName> [<pattern>]}
Returns list of all element names in <arrayName> that match glob <pattern>.

\Xi{\kwd{array nextelement} <arrayName> <searchId>}
Returns name of next element in <arrayName> for the search <searchId>.

\Xi{\kwd{array set} <arrayName> <list>}
Sets values of elements in <arrayName> for list in \kwd{array get} format.

\Xi{\kwd{array size} <arrayName>}
Return number of elements in <arrayName>.

\Xi{\kwd{array startsearch} <arrayName>}
Returns a search id to use for an element-by-element search of <arrayName>.

\Xi{\kwd{parray} <arrayName>}
Print to standard output the names and values in <arrayName>.

\end{enum}

\section{Strings}

\begin{enum}{1cm}

\Xi{\kwd{append} <varName> [<value> <value> ...]}
Appends each of the given values to the string stored in <varName>.

\Xi{\kwd{format} <formatString> [<arg> <arg> ...]}
Returns a formated string generated in the ANSI C {\bf sprintf} manner.

\Xi{\kwd{regexp} [<switches>] <exp> <string> [<matchVar>] [<subMatchVar> ...]}
Returns 1 if the regular expression <exp> matches part or all of
<string> , 0 otherwise. If specified, <matchVar> will be set to all the
characters in the match and the following <subMatchVar>'s will be set to
matched parenthesized subexpressions. The |-nocase| switch can be
specified to ignore case in matching. The |-indices| switch can be
specified so that <matchVar> and <subMatchVar> will be set to the
start and ending indices in <string> of their corresponding match.

\Xi{\kwd{regsub} [<switches>] <exp> <string> <subSpec> <varName>}
Replaces the first portion of <string> that matches the regular expression
<exp> with <subSpec> and places results in <varName>. Returns count
of number of replacements made. The |-nocase| switch can be
specified to ignore case in matching. The |-all| switch will cause
all matches to be substituted for.

\Xi{\kwd{scan} <string> <formatString> <varName> [<varName> ...]}
Extracts values into given variables using ANSI C {\bf sscanf} behavior.

\Xi{\kwd{string compare} <string1> <string2>}
Returns -1, 0, or 1, depending on whether <string1> is lexicographically
less than, equal to, or greater than <string2>.

\Xi{\kwd{string first} <string1> <string2>}
Return index in <string2> of first occurance of <string1> (-1 if not found).

\Xi{\kwd{string index} <string> <charIndex>}
Returns the <charIndex>'th character in <string>.

\Xi{\kwd{string last} <string1> <string2>}
Return index in <string2> of last occurance of <string1> (-1 if not found).

\Xi{\kwd{string length} <string>}
Returns the number of characters in <string>.

\Xi{\kwd{string match} <pattern> <string>}
Returns 1 if glob <pattern> matches <string>, 0 otherwise.

\Xi{\kwd{string range} <string> <first> <last>}
Returns characters from <string> at indices <first> through <last> inclusive.

\Xi{\kwd{string tolower} <string>}
Returns new string formed by converting all chars in <string> to lower case.

\Xi{\kwd{string toupper} <string>}
Returns new string formed by converting all chars in <string> to upper case.

\Xi{\kwd{string trim} <string> [<chars>]}
Returns new string formed by removing from <string> any leading or trailing 
characters present in the set <chars>.

\Xi{\kwd{string trimleft} <string> [<chars>]}
Same as \kwd{string trim} for leading characters only.

\Xi{\kwd{string trimright} <string> [<chars>]}
Same as \kwd{string trim} for trailing  characters only.

\Xi{\kwd{string wordend} <string> <index>}
Returns index of character just after last one in word at <index> in <string>.

\Xi{\kwd{string wordstart} <string> <index>}
Returns index of first character of word at <index> in <string>.

\Xi{\kwd{subst} <string>}
Returns result of backslash, command, and variable
substitutions on <string>.

\end{enum}

\section{System Interaction}

\begin{enum}{1cm}

\Xi{\kwd{cd} [<dirName>]}
Change working directory to <dirName>.

\Xi{\kwd{exec} [|-keepnew|] <arg> [<arg> ...]}
Execute subprocess using each <arg> as word for a shell pipeline and
return results written to standard out, optionally retaining the final
newline char.  The following constructs can be used to control I/O flow.
\begin{enum}{4cm}
\Xi{\quad \|}			 pipe (stdout)
\Xi{\quad \|\&}		 	 pipe (stdout and stderr)
\Xi{\quad \lt <fileName>}	 stdin from file
\Xi{\quad {\lt}@ <fileId>}	 stdin from open file
\Xi{\quad \lt\lt <value>}	 pass value to stdin
\Xi{\quad \gt <fileName>}	 stdout to file
\Xi{\quad 2\gt <fileName>}	 stderr to file
\Xi{\quad \gt\& <fileName>}	 stdout and stderr to file
\Xi{\quad \gt\gt <fileName>}	 append stdout to file
\Xi{\quad 2\gt\gt <fileName>}	 append stderr to file
\Xi{\quad \gt\gt\& <fileName>}   stdout and stderr to file
\Xi{\quad {\gt}@ <fileId>}	 stdout to open file
\Xi{\quad 2{\gt}@ <fileId>}	 stderr to open file
\Xi{\quad \gt\&@ <fileId>}	 stdout and stderr to open file
\Xi{\quad \&}			 run in background
\end{enum}


\Xi{\kwd{glob} [|-nocomplain|] <pattern> [<pattern> ...]}
Returns list of all files in current directory that match any of
the given csh-style glob patterns, optionally suppressing error on no match.

\Xi{\kwd{pid} [<fileId>]}
Return process id of process pipeline <fileId> if given, otherwise
return process id of interpreter process.

\Xi{\kwd{pwd}}
Returns the current working directory.

\end{enum}

\section{Command History}

\begin{enum}{1cm}

\Xi{\kwd{history}}
Same as \kwd{history info}.

\Xi{\kwd{history add} <command> [|exec|]}
Adds <command> to history list, optionally executing it.

\Xi{\kwd{history change} <newValue> [<event>]}
Replaces value of <event> (default current) in history with <newValue>.

\Xi{\kwd{history event} [<event>]}
Returns value of <event> (default -1) in history.

\Xi{\kwd{history info} [<count>]}
Returns event number and contents of the last <count> events.

\Xi{\kwd{history keep} [<count>]}
Set number of events to retain in history to <count>.

\Xi{\kwd{history nextid}}
Returns number for next event to be recorded in history.

\Xi{\kwd{history redo} [<event>]}
Re-executes <event> (default -1).

\Xi{\kwd{history substitute} <old> <new> [<event>]}
Re-executes <event> (default -1) replacing any occurance of string
<old> with <new> in <event>'s value.

\Xi{\kwd{history words} <selector> [<event>]}
Returns the <selector>'th word in value of <event> if <selector> is
a number or the last word if <selector> is \$. Otherwise, <selector>
is treated as a glob pattern, and words that match it are returned.

\end{enum}

\section{Other Tcl Commands}

\begin{enum}{1cm}

\Xi{\kwd{auto\_execok} <execFile>}
Returns 1 if an executable file by the name <execFile> exists in user's PATH.

\Xi{\kwd{auto\_load} <cmd>}
Attempts to load definition for <cmd> by searching {\tt \$auto\_path} and
{\tt \$env(TCLLIBPATH)} for a tclIndex file which will inform the interpreter
where it can find <cmd>'s definition.

\Xi{\kwd{auto\_mkindex} <directory> <pattern> [<pattern> ...]}
Generate a tclIndex file by search all files in <directory> that match
<pattern> for Tcl procedure definitions.

\Xi{\kwd{auto\_reset}}
Destroys cached information used by \kwd{auto\_execok} and \kwd{auto\_load}.

\Xi{\kwd{catch} <script> [<varName>]}
Evaluate <script> storing results into <varName>. If there is an error in
evaluation, a non-zero error code is returned and an error message stored in <varName>.

\Xi{\kwd{error} <message> [<info>] [<code>]}
Interrupt command interpretation with an error described in
<message>. Global variables |errorInfo| and |errorCode| will be set to
<info> and <code> respectively, if given.

\Xi{\kwd{eval} <arg> [<arg> ...]}
Returns result of evaluating the concatenation of <args>'s as a Tcl command.

\Xi{\kwd{expr} <arg> [<arg> ...]}
Returns result of evaluating the concatenation of <arg>'s as an
operator expression. See {\sl Operators} for more info.

\Xi{\kwd{global} <varName> [<varName> ...]}
Declares given <varName>'s as global variables.

\Xi{\kwd{incr} <varName> [<increment>]}
Increment the integer value stored in <varName> by <increment> (default 1).

\Xi{\kwd{proc} <name> <args> <body>}
Create a new Tcl procedure or replace existing one.

\Xi{\kwd{rename} <oldName> <newName>}
Rename command <oldName> so it is now called <newName>. If <newName> is
the empty string, command is deleted.

\Xi{\kwd{set} <varName> [<value>]}
Store <value> in <varName> if given. Returns the current value of
<varName>.

\Xi{\kwd{source} <fileName>}
Read file <fileName> and evaluate its contents as a Tcl <script>.

\Xi{\kwd{time} <script> [<count>]}
Call interpreter <count> (default 1) times to evaluate <script>. Returns
string of the form ``{\tt 503 micoseconds per iteration}''.

\Xi{\kwd{trace variable} <varName> <ops> <command>}
Arrange for <command> to be executed whenever <varName> is accessed in
one of the ways specified with <ops>. Possbile values are |r| for read,
|w| for written, |u| for unset, and any combination of the three.

\Xi{\kwd{trace vdelete} <varName> <ops> <command>}
Remove any previous trace specified with the given arguments.

\Xi{\kwd{trace vinfo} <varName>}
Returns list where each element is sublist containing the <ops> and <command>
arguments for each trace on <varName>.

\Xi{\kwd{unknown} <cmdName> [<arg> <arg> ...]}
Called when the Tcl interpreter encounters an undefined command name.

\Xi{\kwd{unset} <varName> [<varName> ...]}
Removes the given variables and arrays from scope.

\Xi{\kwd{uplevel} [<level>] <arg> [<arg> ...]}
Evaluates concatenation of <arg>'s in the variable context indicated by
<level>, an integer that gives the distance up the calling stack.  If
<level> is preceded by ``\#'', then it gives the distance down the
calling stack from toplevel.

\Xi{\kwd{upvar} [<level>] <otherVar> <myVar> [<otherVar> <myVar> ...]}
Makes <myVar> in local scope equivalent to <otherVar> at context <level>
so they share the same storage space.

\end{enum}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美国产精品中文字幕| 久久精品国产99久久6| 99久久精品免费看国产免费软件| 久久久影视传媒| 成人在线视频一区二区| 亚洲黄色小视频| 91麻豆精品国产91久久久久久| 免费观看久久久4p| 7777精品伊人久久久大香线蕉最新版| 亚洲国产成人高清精品| 国产欧美日韩三区| 日韩一区二区免费视频| 成人午夜又粗又硬又大| 日韩成人一级大片| 欧美激情一区二区三区四区| 91精品国产欧美一区二区18| jiyouzz国产精品久久| 老鸭窝一区二区久久精品| 亚洲图片激情小说| 欧美激情在线免费观看| 日韩欧美国产精品| 日韩一区二区三区免费观看| 色综合激情久久| 97se亚洲国产综合在线| 国产成人在线网站| 国产精品一区二区x88av| 日韩国产一区二| 亚洲成人一区二区| 亚洲私人影院在线观看| 亚洲欧洲色图综合| 中文字幕一区二区三区不卡在线| 国产三级一区二区| 日本一区二区三区在线不卡 | 日韩中文字幕亚洲一区二区va在线| 中文字幕一区二区三| 中文字幕制服丝袜成人av| 国产喷白浆一区二区三区| 国产精品视频在线看| 亚洲另类在线一区| 一区二区三区欧美在线观看| 亚洲一区二三区| 日本不卡一二三| 日本中文字幕一区二区视频 | 中文字幕在线不卡视频| 成人免费视频在线观看| 夜夜嗨av一区二区三区网页| 亚洲一区二区三区激情| 国内成+人亚洲+欧美+综合在线 | 日韩高清国产一区在线| 成人黄色免费短视频| 色偷偷久久一区二区三区| 欧美无砖砖区免费| 久久综合一区二区| 亚洲国产精品久久人人爱蜜臀| 国产酒店精品激情| 欧美日韩电影在线播放| 国产精品盗摄一区二区三区| 久久99久久99小草精品免视看| 成人免费高清视频| 日韩亚洲欧美在线观看| 久久综合色天天久久综合图片| 国产精品电影院| 精品一区二区久久久| 99久久99久久精品国产片果冻| 91麻豆精品91久久久久同性| 国产精品嫩草久久久久| 国产自产2019最新不卡| 制服丝袜亚洲网站| 亚洲免费成人av| 日本精品免费观看高清观看| 欧美不卡视频一区| 蜜臀av一区二区在线观看| 91丨九色丨蝌蚪富婆spa| 精品女同一区二区| 韩国三级中文字幕hd久久精品| 在线播放欧美女士性生活| 亚洲国产成人高清精品| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 中文字幕在线免费不卡| 91香蕉视频mp4| 亚洲国产精品久久一线不卡| 日韩欧美综合一区| 精品午夜一区二区三区在线观看| 日韩女优制服丝袜电影| 麻豆91小视频| 亚洲美女淫视频| 91精品国产91久久综合桃花| 九九国产精品视频| 国产精品久线观看视频| 91精品国产综合久久精品| 黄色成人免费在线| 一区二区三区欧美激情| 91精品国产综合久久久久久久久久| 久久99久久久久久久久久久| 337p粉嫩大胆色噜噜噜噜亚洲| 成人动漫av在线| 亚洲三级在线免费| 久久夜色精品国产欧美乱极品| 国产99久久久精品| 三级影片在线观看欧美日韩一区二区| 国产拍欧美日韩视频二区| 日韩午夜电影在线观看| 日本久久一区二区| 国产不卡高清在线观看视频| 五月婷婷综合在线| 一区二区三区蜜桃| **性色生活片久久毛片| 精品国产乱码久久| 欧美一区在线视频| 欧美日韩国产高清一区二区三区 | 一级日本不卡的影视| 国产精品日韩精品欧美在线| 欧美一级精品大片| 7777精品伊人久久久大香线蕉 | 国产大片一区二区| 国产精品一区二区你懂的| 激情综合一区二区三区| 无吗不卡中文字幕| 日日摸夜夜添夜夜添精品视频| 一区二区在线观看av| 亚洲无人区一区| 五月婷婷综合网| 奇米一区二区三区| 日韩国产欧美一区二区三区| 亚洲最大成人综合| 三级一区在线视频先锋| 国产美女精品在线| 99久久伊人精品| 在线观看av一区| 久久综合九色综合97婷婷女人| 欧美国产一区视频在线观看| 国产精品国产自产拍高清av| 亚洲福利视频一区| 精品制服美女丁香| www.av精品| 欧美变态口味重另类| 亚洲色图制服丝袜| 久久99精品国产.久久久久久| 顶级嫩模精品视频在线看| 色噜噜久久综合| 久久午夜色播影院免费高清| 亚洲欧美一区二区三区极速播放| 丝袜a∨在线一区二区三区不卡| 国产成人一区在线| 7777精品伊人久久久大香线蕉完整版| xfplay精品久久| 五月天亚洲婷婷| 97久久精品人人做人人爽50路| 日韩精品一区二区三区在线 | 日本美女视频一区二区| 91丨九色丨黑人外教| 久久精品欧美日韩精品| 伦理电影国产精品| 8x8x8国产精品| 日韩激情一二三区| 色8久久人人97超碰香蕉987| √…a在线天堂一区| 99久久综合色| 亚洲天堂成人网| 在线视频一区二区三| 亚洲精品国产一区二区三区四区在线| 国内成人精品2018免费看| 精品久久久久久综合日本欧美| 国产综合成人久久大片91| 欧美大肚乱孕交hd孕妇| 国产成人av一区二区三区在线观看| 精品伦理精品一区| 九色porny丨国产精品| 久久久久久久久久久电影| 成人网在线免费视频| 一区二区三区资源| 欧美午夜电影网| 国产成人免费视频网站| 久久久无码精品亚洲日韩按摩| 国产v日产∨综合v精品视频| 国产精品电影院| 日韩写真欧美这视频| 成人精品gif动图一区| 亚洲综合丝袜美腿| 久久亚洲精品国产精品紫薇| 99精品欧美一区| 美女性感视频久久| 一区二区三区欧美| 中文字幕av不卡| 欧美理论电影在线| 国产91在线观看| 国产精品综合视频| 免费在线欧美视频| 亚洲福利视频一区二区| 国产精品卡一卡二| 国产欧美一区二区精品性| 欧美电影在线免费观看| 不卡在线观看av| 国产美女主播视频一区| 日韩精品欧美成人高清一区二区| 国产精品久久久久久亚洲毛片| 91精品国产综合久久蜜臀| 日本道在线观看一区二区| 国产成人午夜电影网| 免费成人你懂的|