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

Function: exist
Description: exist tries to find if the input object exists or not. If the object exists, exist gives the typ of the object.


Usage: r = exist ("name")
Input:
name object name
Output:
r scalar

Note:

Example:



x = matrix (2,4)

exist("x")

x = createdisplay(1,1)

exist("x")

exist("y")

Result:



Contents of exist

[1,]        1 

Contents of exist

[1,]        4 

Contents of exist

[1,]       -1 


Group: Information and Control
See also: existglobal

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, 21.9.2000