Advertisement

TCL的特殊变量

阅读量:
Sr.No. Special Variable & Description
1 argc Refers to a number of command-line arguments.
2 argv Refers to the list containing the command-line arguments.
3 argv0 Refers to the file name of the file being interpreted or the name by which we invoke the script.
4 env Used for representing the array of elements that are environmental variables.
5 errorCode Provides the error code for last Tcl error.
6 errorInfo Provides the stack trace for last Tcl error.
7 tcl_interactive Used to switch between interactive and non-interactive modes by setting

全部评论 (0)

还没有任何评论哟~