Tcl Built-In Commands
global - Access global variables
global varname ?varname ...?
This command is ignored unless a Tcl procedure is being interpreted.
If so then it declares the given varname's to be global variables
rather than local ones. For the duration of the current procedure
(and only while executing in the current procedure), any reference to
any of the varnames will refer to the global variable by the same
global, procedure, variable
[ tcl8.0a1 | tk8.0a1 | X-ref ]
Copyright © 1989-1994 The Regents of the University of California.
Copyright © 1994-1996 Sun Microsystems, Inc.