Initial revision
[LeanCalc.git] / help / iserror
1 NAME
2     iserror - test whether a value is an error value
3
4 SYNOPSIS
5     iserror(x)
6
7 TYPES
8     x           any
9
10     return      zero or positive integer < 32768
11
12 DESCRIPTION
13     If x is not an error value, zero is returned.
14     If x is an error value, iserror(x) returns its error type.
15
16 EXAMPLE
17     > a = error(99)
18     print iserror(a), iserror(2 + a), iserror(2 + "a"), iserror(2 + 3)
19     99 99 3 0
20
21 LIMITS
22     none
23
24 LINK LIBRARY
25     none
26
27 SEE ALSO
28     error, errorcodes,
29     isassoc, isatty, isblk, isconfig, isdefined, iseven, isfile,
30     ishash, isident, isint, islist, ismat, ismult, isnull, isnum, isobj,
31     isobjtype, isodd, isprime, isrand, israndom, isreal, isrel,
32     issimple, issq, isstr, istype
33