Provided by: manpages-zh_1.5.2-1.1_all bug

NAME

       global - 访问全局变量

总览 SYNOPSIS

       global varname ?varname ...?
_________________________________________________________________

描述 DESCRIPTION

       除非正在解释一个  Tcl  过程否则忽略这个命令。如果正在解释一个 Tcl 过程,则它声明这些给定的
       varname 是全局变量而不是局部变量。全局变量是在全局名字空间中的变量。在这个当前过程的持续期
       间(duration)(并且只有在当前过程中执行的时候),对     varname    中任何一个的任何引用都将参
       照(refer to)叫相同名字的全局变量。

       Please note that this is done by creating local variables that are linked  to  the  global
       variables, and therefore that these variables will be listed by info locals like all other
       local variables.

参见 SEE ALSO

       namespace(n), upvar(n), variable(n)

关键字 KEYWORDS

       global, namespace, procedure, variable

[中文版维护人]

       寒蝉退士

[中文版最新更新]

       2001/09/02

《中国 Linux 论坛 man 手册页翻译计划》:

       http://cmpp.linuxforum.net