Man Scilab

isdef
Scilab Function

isdef - check variable existence

Calling Sequence

isdef(name [,where])

Parameters

Description

isdef(name) returns %T if the variable 'var-name' exists and %F otherwise.

isdef(name,'local') returns %T if the variable 'var-name' exists in the local environment of the current function and %F otherwise.

Examples


A=1;
isdef('A')
clear A
isdef('A')
 
  

See Also

exists ,   whereis ,   type ,   typeof ,   clear ,  

Back