redhat man page for global

Query: global

OS: redhat

Section: n

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

global(n)						       Tcl Built-In Commands							 global(n)

__________________________________________________________________________________________________________________________________________________

NAME
global - Access global variables
SYNOPSIS
global varname ?varname ...? _________________________________________________________________
DESCRIPTION
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. Global variables are variables in the global namespace. 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 name. 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 Tcl global(n)
Related Man Pages
variable(n) - mojave
variable(n) - centos
global(3tcl) - debian
variable(n) - osx
global(1) - suse
Similar Topics in the Unix Linux Community
global substitution in VI
DHCP Server in Non-Global Zone
Performance Metrics for vB Global Translator
Adding multiple virtual interfaces on a non global zone.
Modify the Hostid in a Solaris 11 Global Zone running on VMWare