opendarwin man page for global

Query: global

OS: opendarwin

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.
SEE ALSO
namespace(n), upvar(n), variable(n)
KEYWORDS
global, namespace, procedure, variable Tcl global(n)
Related Man Pages
global(n) - mojave
global(n) - centos
variable(n) - redhat
global(n) - suse
variable(n) - suse
Similar Topics in the Unix Linux Community
AWK -> getting "global" vars
how to access globals in a function
Sed command to globally replace xth occurance.
Adding multiple virtual interfaces on a non global zone.
How to identify a global or non-global Solaris server?