Calc generated error codes (see the error help file):

    10001	Division by zero
    10002	Indeterminate (0/0)
    10003	Bad arguments for +
    10004	Bad arguments for binary -
    10005	Bad arguments for *
    10006	Bad arguments for /
    10007	Bad argument for unary -
    10008	Bad argument for squaring
    10009	Bad argument for inverse
    10010	Bad argument for ++
    10011	Bad argument for --
    10012	Bad argument for int
    10013	Bad argument for frac
    10014	Bad argument for conj
    10015	Bad first argument for appr
    10016	Bad second argument for appr
    10017	Bad third argument for appr
    10018	Bad first argument for round
    10019	Bad second argument for round
    10020	Bad third argument for round
    10021	Bad first argument for bround
    10022	Bad second argument for bround
    10023	Bad third argument for bround
    10024	Bad first argument for sqrt
    10025	Bad second argument for sqrt
    10026	Bad third argument for sqrt
    10027	Bad first argument for root
    10028	Bad second argument for root
    10029	Bad third argument for root
    10030	Bad argument for norm
    10031	Bad first argument for << or >>
    10032	Bad second argument for << or >>
    10033	Bad first argument for scale
    10034	Bad second argument for scale
    10035	Bad first argument for ^
    10036	Bad second argument for ^
    10037	Bad first argument for power
    10038	Bad second argument for power
    10039	Bad third argument for power
    10040	Bad first argument for quo or //
    10041	Bad second argument for quo or //
    10042	Bad third argument for quo
    10043	Bad first argument for mod or %
    10044	Bad second argument for mod or %
    10045	Bad third argument for mod
    10046	Bad argument for sgn
    10047	Bad first argument for abs
    10048	Bad second argument for abs
    10049	Scan error in argument for eval
    10050	Non-simple type for str
    10051	Non-real epsilon for exp
    10052	Bad first argument for exp
    10053	Non-file first argument for fputc
    10054	Bad second argument for fputc
    10055	File not open for writing for fputc
    10056	Non-file first argument for fgetc
    10057	File not open for reading for fgetc
    10058	Non-string arguments for fopen
    10059	Unrecognized mode for fopen
    10060	Non-file first argument for freopen
    10061	Non-string or unrecognized mode for freopen
    10062	Non-string third argument for freopen
    10063	Non-file argument for fclose
    10064	Non-file argument for fflush
    10065	Non-file first argument for fputs
    10066	Non-string argument after first for fputs
    10067	File not open for writing for fputs
    10068	Non-file argument for fgets
    10069	File not open for reading for fgets
    10070	Non-file first argument for fputstr
    10071	Non-string argument after first for fputstr
    10072	File not open for writing for fputstr
    10073	Non-file first argument for fgetstr
    10074	File not open for reading for fgetstr
    10075	Non-file argument for fgetline
    10076	File not open for reading for fgetline
    10077	Non-file argument for fgetword
    10078	File not open for reading for fgetword
    10079	Non-file argument for rewind
    10080	Non-integer argument for files
    10081	Non-string fmt argument for fprint
    10082	Stdout not open for writing to ???
    10083	Non-file first argument for fprintf
    10084	Non-string second (fmt) argument for fprintf
    10085	File not open for writing for fprintf
    10086	Non-string first (fmt) argument for strprintf
    10087	Error in attempting strprintf ???
    10088	Non-file first argument for fscan
    10089	File not open for reading for fscan
    10090	Non-string first argument for strscan
    10091	Non-file first argument for fscanf
    10092	Non-string second (fmt) argument for fscanf
    10093	Non-lvalue argument after second for fscanf
    10094	File not open for reading or other error for fscanf
    10095	Non-string first argument for strscanf
    10096	Non-string second (fmt) argument for strscanf
    10097	Non-lvalue argument after second for strscanf
    10098	Some error in attempting strscanf ???
    10099	Non-string first (fmt) argument for scanf
    10100	Non-lvalue argument after first for scanf
    10101	Some error in attempting scanf ???
    10102	Non-file argument for ftell
    10103	File not open or other error for ftell
    10104	Non-file first argument for fseek
    10105	Non-integer or negative second argument for fseek
    10106	File not open or other error for fseek
    10107	Non-file argument for fsize
    10108	File not open or other error for fsize
    10109	Non-file argument for feof
    10110	File not open or other error for feof
    10111	Non-file argument for ferror
    10112	File not open or other error for ferror
    10113	Non-file argument for ungetc
    10114	File not open for reading for ungetc
    10115	Bad second argument or other error for ungetc
    10116	Exponent too big in scanning
    10117	Non-file argument for isatty
    10118	File not open for isatty
    10119	Non-string first argument for access
    10120	Bad second argument for access
    10121	Bad first argument for search
    10122	Bad second argument for search
    10123	Bad third argument for search
    10124	Bad first argument for rsearch
    10125	Bad second argument for rsearch
    10126	Bad third argument for rsearch
    10127	Too many open files
    10128	Attempt to rewind a file that is not open
    10129	Bad argument type for strerror
    10130	Index out of range for strerror
    10131	Bad epsilon for cos
    10132	Bad first argument for cos
    10133	Bad epsilon for sin
    10134	Bad first argument for sin
    10135	Non-string argument for eval
    10136	Bad epsilon for arg
    10137	Bad first argument for arg
    10138	Non-real argument for polar
    10139	Bad epsilon for polar
    10140	Non-integral argument for fcnt
    10141	Non-variable first argument for matfill
    10142	Non-matrix first argument-value for matfill
    10143	Non-matrix argument for matdim
    10144	Non-matrix argument for matsum
    10145	Non-matrix argument for isident
    10146	Non-matrix argument for mattrans
    10147	Non-two-dimensional matrix for mattrans
    10148	Non-matrix argument for det
    10149	Matrix for det not of dimension 2
    10150	Non-square matrix for det
    10151	Non-matrix first argument for matmin
    10152	Non-positive-integer second argument for matmin
    10153	Second argument for matmin exceeds dimension
    10154	Non-matrix first argument for matmin
    10155	Second argument for matmax not positive integer
    10156	Second argument for matmax exceeds dimension
    10157	Non-matrix argument for cp
    10158	Non-one-dimensional matrix for cp
    10159	Matrix size not 3 for cp
    10160	Non-matrix argument for dp
    10161	Non-one-dimensional matrix for dp
    10162	Different-size matrices for dp
    10163	Non-string argument for strlen
    10164	Non-string argument for strcat
    10165	Non-string first argument for strcat
    10166	Non-non-negative integer second argument for strcat
    10167	Bad argument for char
    10168	Non-string argument for ord
    10169	Non-list-variable first argument for insert
    10170	Non-integral second argument for insert
    10171	Non-list-variable first argument for push
    10172	Non-list-variable first argument for append
    10173	Non-list-variable first argument for delete
    10174	Non-integral second argument for delete
    10175	Non-list-variable argument for pop
    10176	Non-list-variable argument for remove
    10177	Bad epsilon argument for ln
    10178	Non-numeric first argument for ln
    10179	Non-integer argument for error
    10180	Argument outside range for error
    10181	Attempt to eval at maximum input depth
    10182	Unable to open string for reading
    10183	First argument for rm is not a non-empty string
    10184	Unable to remove a file
    10185	Operation allowed because calc mode disallows read operations
    10186	Operation allowed because calc mode disallows write operations
    10187	Operation allowed because calc mode disallows exec operations
    20000	base of user defined errors
