global(3Tcl)

global - Access global variables

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

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.  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.


KEYWORDS
     global, procedure, variable