Unix/Linux Go Back    

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

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

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


       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.  Global  vari-
       ables  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.

       namespace(n), upvar(n), variable(n)

       global, namespace, procedure, variable

Tcl											global(n)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 05:56 PM.