DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

global(TCL)


global -- access global variables

Syntax

global varname [varname ...]

Description

This command is ignored unless a Tcl procedure is being interpreted. If so then it declares the given varnames 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.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003