| Group: | Information and Control |
| See also: | existglobal |
| Function: | exist | |
| Description: | exist try to find if the input object exists or not. If the object exists, exist gives the typ of the object. |
| Usage: | r = exist ("x") or r = exist(x) | |
| Input: | ||
| x | object name | |
| Output: | ||
| r | scalar | |
x = matrix (2,4)
exist("x")
x = createdisplay(1,1)
exist("x")
exist("y")
Contents of exist [1,] 1 Contents of exist [1,] 4 Contents of exist [1,] -1
| Group: | Information and Control |
| See also: | existglobal |