| Group: | Information and Control |
| See also: | exist getglobal putglobal |
| Function: | existglobal | |
| Description: |
existglobal checks existence of a global variable
|
| Usage: | r = existglobal ("name") | |
| Input: | ||
| name | name of an arbitrary object | |
| Output: | ||
| r | scalar | |
The result will be
0 object doesn't exist
1 object is numeric
2 object is text
3 object has type XPLTIME
4 object is a display
9 composed objects (lists)
If the argument of existglobal denotes a quantlet, 10 is added. E.G.
if there is an object 'cov=1' and the library("xplore") is loaded,
existglobal("cov") results in 11 (10 for proc and 1 for numeric).
e = existglobal ("eulerc")
e
e contains either 1 (exists) or 0 (does not exist)
| Group: | Information and Control |
| See also: | exist getglobal putglobal |