Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for global (redhat section n)

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 var- name'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 there- fore 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)


All times are GMT -4. The time now is 01:17 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password