| 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" | |
x=7
putglobal("x")
s = getglobal ("x") ; s is a copy of the global variable x
s
Contents of s [1,] 7
| Group: | Information and Control |
| See also: | existglobal putglobal |