Provided by:
manpages-zh_1.5.1-1_all 
NAME
global - 訪問全局變量
` SYNOPSIS
global varname ?varname ...?
_________________________________________________________________
yz DESCRIPTION
除非正在解釋一 Tcl 過程否則忽略這茤R令。如果正在解釋一 Tcl
過程,則它聲明這些給定的 varname
是全局變量而不是局部變量。全局變量是在全局名字空間中的變量。在這-
虓礅e過程的持續期間(duration)(並且只有在當前過程中執行的時),對
varname 中任何一茠漸籉韝犍帠ㄠN參照(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)
r KEYWORDS
global, namespace, procedure, variable
[]
Hhh
[]
2001/09/02
m Linux manUpn:
http://cmpp.linuxforum.net