Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Information and Control
See also: existglobal putglobal

Function: getglobal
Description: getglobal reads a global variable


Usage: x = getglobal (name)
Input:
name name of the global object
Output:
x copy of global object "name"

Note:

Example:

x=7
putglobal("x") 
s = getglobal ("x")      ; s is a copy of the global variable x
s 
Result:

Contents of s
[1,]        7 

Group: Information and Control
See also: existglobal putglobal

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 28.6.1999