error occurrence test
iserror() iserror(n)
an integer, an error number
Tests if error number n
has occurred (after a call to
errcatch
). iserror
returns 1
if the error occurred and 0
otherwise.
n
>0
is the error number ; all errors are tested with n
<0
.
errcatch(4,'continue') // trap undefined variable unknown iserror() // 1 errclear() iserror() // 0 | ![]() | ![]() |
Version | Description |
5.5.2 | iserror was removed after Scilab 5.5.2. |