Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
isdef
checks variable existence
Calling Sequence
isdef(name [,where])
Arguments
- name
a character string
- where
an optional character string with default value
'all'
Description
isdef(name) returns %T if the
variable named name exists and %F
otherwise.
Caveats: a function which uses isdef may return a
result which depends on the environment!
isdef(name,'local') returns %T
if the variable named name exists in the local
environment of the current function and %F
otherwise.
isdef(name,'nolocal') returns
%T if the variable named name exists
in the full calling environment (including the global level) of the
current function and %F otherwise.
Examples
See Also
| Report an issue | ||
| << getvariablesonstack | Variables | isglobal >> |