📄 calcerr.tbl
字号:
## calcerr - error codes and messages## Copyright (C) 1999-2006 Ernest Bowen## Calc is open software; you can redistribute it and/or modify it under# the terms of the version 2.1 of the GNU Lesser General Public License# as published by the Free Software Foundation.## Calc is distributed in the hope that it will be useful, but WITHOUT# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General# Public License for more details.## A copy of version 2.1 of the GNU Lesser General Public License is# distributed with calc under the filename COPYING-LGPL. You should have# received a copy with calc; if not, write to Free Software Foundation, Inc.# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.## @(#) $Revision: 29.10 $# @(#) $Id: calcerr.tbl,v 29.10 2006/08/20 15:01:30 chongo Exp $# @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr.tbl,v $## Under source code control: 1996/05/23 17:38:44# File existed as early as: 1996## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/# This file is used to build calcerr.h include file.## Lines should be of the form:## SYMBOL meaningE_1OVER0 Division by zeroE_0OVER0 Indeterminate (0/0)E_ADD Bad arguments for +E_SUB Bad arguments for binary -E_MUL Bad arguments for *E_DIV Bad arguments for /E_NEG Bad argument for unary -E_SQUARE Bad argument for squaringE_INV Bad argument for inverseE_INCV Bad argument for ++E_DECV Bad argument for --E_INT Bad argument for intE_FRAC Bad argument for fracE_CONJ Bad argument for conjE_APPR Bad first argument for apprE_APPR2 Bad second argument for apprE_APPR3 Bad third argument for apprE_ROUND Bad first argument for roundE_ROUND2 Bad second argument for roundE_ROUND3 Bad third argument for roundE_BROUND Bad first argument for broundE_BROUND2 Bad second argument for broundE_BROUND3 Bad third argument for broundE_SQRT Bad first argument for sqrtE_SQRT2 Bad second argument for sqrtE_SQRT3 Bad third argument for sqrtE_ROOT Bad first argument for rootE_ROOT2 Bad second argument for rootE_ROOT3 Bad third argument for rootE_NORM Bad argument for normE_SHIFT Bad first argument for << or >>E_SHIFT2 Bad second argument for << or >>E_SCALE Bad first argument for scaleE_SCALE2 Bad second argument for scaleE_POWI Bad first argument for ^E_POWI2 Bad second argument for ^E_POWER Bad first argument for powerE_POWER2 Bad second argument for powerE_POWER3 Bad third argument for powerE_QUO Bad first argument for quo or //E_QUO2 Bad second argument for quo or //E_QUO3 Bad third argument for quoE_MOD Bad first argument for mod or %E_MOD2 Bad second argument for mod or %E_MOD3 Bad third argument for modE_SGN Bad argument for sgnE_ABS Bad first argument for absE_ABS2 Bad second argument for absE_EVAL Scan error in argument for evalE_STR Non-simple type for strE_EXP1 Non-real epsilon for expE_EXP2 Bad first argument for expE_FPUTC1 Non-file first argument for fputcE_FPUTC2 Bad second argument for fputcE_FPUTC3 File not open for writing for fputcE_FGETC1 Non-file first argument for fgetcE_FGETC2 File not open for reading for fgetcE_FOPEN1 Non-string arguments for fopenE_FOPEN2 Unrecognized mode for fopenE_FREOPEN1 Non-file first argument for freopenE_FREOPEN2 Non-string or unrecognized mode for freopenE_FREOPEN3 Non-string third argument for freopenE_FCLOSE1 Non-file argument for fcloseE_FFLUSH Non-file argument for fflushE_FPUTS1 Non-file first argument for fputsE_FPUTS2 Non-string argument after first for fputsE_FPUTS3 File not open for writing for fputsE_FGETS1 Non-file argument for fgetsE_FGETS2 File not open for reading for fgetsE_FPUTSTR1 Non-file first argument for fputstrE_FPUTSTR2 Non-string argument after first for fputstrE_FPUTSTR3 File not open for writing for fputstrE_FGETSTR1 Non-file first argument for fgetstrE_FGETSTR2 File not open for reading for fgetstrE_FGETLINE1 Non-file argument for fgetlineE_FGETLINE2 File not open for reading for fgetlineE_FGETFIELD1 Non-file argument for fgetfieldE_FGETFIELD2 File not open for reading for fgetfieldE_REWIND1 Non-file argument for rewindE_FILES Non-integer argument for filesE_PRINTF1 Non-string fmt argument for fprintE_PRINTF2 Stdout not open for writing to ???E_FPRINTF1 Non-file first argument for fprintfE_FPRINTF2 Non-string second (fmt) argument for fprintfE_FPRINTF3 File not open for writing for fprintfE_STRPRINTF1 Non-string first (fmt) argument for strprintfE_STRPRINTF2 Error in attempting strprintf ???E_FSCAN1 Non-file first argument for fscanE_FSCAN2 File not open for reading for fscanE_STRSCAN Non-string first argument for strscanE_FSCANF1 Non-file first argument for fscanfE_FSCANF2 Non-string second (fmt) argument for fscanfE_FSCANF3 Non-lvalue argument after second for fscanfE_FSCANF4 File not open for reading or other error for fscanfE_STRSCANF1 Non-string first argument for strscanfE_STRSCANF2 Non-string second (fmt) argument for strscanfE_STRSCANF3 Non-lvalue argument after second for strscanfE_STRSCANF4 Some error in attempting strscanf ???E_SCANF1 Non-string first (fmt) argument for scanfE_SCANF2 Non-lvalue argument after first for scanfE_SCANF3 Some error in attempting scanf ???E_FTELL1 Non-file argument for ftellE_FTELL2 File not open or other error for ftellE_FSEEK1 Non-file first argument for fseekE_FSEEK2 Non-integer or negative second argument for fseekE_FSEEK3 File not open or other error for fseekE_FSIZE1 Non-file argument for fsizeE_FSIZE2 File not open or other error for fsizeE_FEOF1 Non-file argument for feofE_FEOF2 File not open or other error for feofE_FERROR1 Non-file argument for ferrorE_FERROR2 File not open or other error for ferrorE_UNGETC1 Non-file argument for ungetcE_UNGETC2 File not open for reading for ungetcE_UNGETC3 Bad second argument or other error for ungetcE_BIGEXP Exponent too big in scanningE_ISATTY1 E_ISATTY1 is no longer usedE_ISATTY2 E_ISATTY2 is no longer usedE_ACCESS1 Non-string first argument for accessE_ACCESS2 Bad second argument for accessE_SEARCH1 Bad first argument for searchE_SEARCH2 Bad second argument for searchE_SEARCH3 Bad third argument for searchE_SEARCH4 Bad fourth argument for searchE_SEARCH5 Cannot find fsize or fpos for searchE_SEARCH6 File not readable for searchE_RSEARCH1 Bad first argument for rsearchE_RSEARCH2 Bad second argument for rsearchE_RSEARCH3 Bad third argument for rsearchE_RSEARCH4 Bad fourth argument for rsearchE_RSEARCH5 Cannot find fsize or fpos for rsearchE_RSEARCH6 File not readable for rsearchE_MANYOPEN Too many open filesE_REWIND2 Attempt to rewind a file that is not openE_STRERROR1 Bad argument type for strerrorE_STRERROR2 Index out of range for strerrorE_COS1 Bad epsilon for cosE_COS2 Bad first argument for cosE_SIN1 Bad epsilon for sinE_SIN2 Bad first argument for sinE_EVAL2 Non-string argument for evalE_ARG1 Bad epsilon for argE_ARG2 Bad first argument for argE_POLAR1 Non-real argument for polarE_POLAR2 Bad epsilon for polarE_FCNT Non-integral argument for fcntE_MATFILL1 Non-variable first argument for matfillE_MATFILL2 Non-matrix first argument-value for matfillE_MATDIM Non-matrix argument for matdimE_MATSUM Non-matrix argument for matsumE_ISIDENT E_ISIDENT is no longer usedE_MATTRANS1 Non-matrix argument for mattransE_MATTRANS2 Non-two-dimensional matrix for mattransE_DET1 Non-matrix argument for detE_DET2 Matrix for det not of dimension 2E_DET3 Non-square matrix for detE_MATMIN1 Non-matrix first argument for matminE_MATMIN2 Non-positive-integer second argument for matminE_MATMIN3 Second argument for matmin exceeds dimensionE_MATMAX1 Non-matrix first argument for matminE_MATMAX2 Second argument for matmax not positive integerE_MATMAX3 Second argument for matmax exceeds dimensionE_CP1 Non-matrix argument for cpE_CP2 Non-one-dimensional matrix for cpE_CP3 Matrix size not 3 for cpE_DP1 Non-matrix argument for dpE_DP2 Non-one-dimensional matrix for dpE_DP3 Different-size matrices for dpE_STRLEN Non-string argument for strlenE_STRCAT Non-string argument for strcatE_SUBSTR1 Non-string first argument for strcatE_SUBSTR2 Non-non-negative integer second argument for strcatE_CHAR Bad argument for charE_ORD Non-string argument for ordE_INSERT1 Non-list-variable first argument for insertE_INSERT2 Non-integral second argument for insertE_PUSH Non-list-variable first argument for pushE_APPEND Non-list-variable first argument for appendE_DELETE1 Non-list-variable first argument for deleteE_DELETE2 Non-integral second argument for deleteE_POP Non-list-variable argument for popE_REMOVE Non-list-variable argument for removeE_LN1 Bad epsilon argument for lnE_LN2 Non-numeric first argument for lnE_ERROR1 Non-integer argument for errorE_ERROR2 Argument outside range for errorE_EVAL3 Attempt to eval at maximum input depthE_EVAL4 Unable to open string for readingE_RM1 First argument for rm is not a non-empty stringE_RM2 Unable to remove a fileE_RDPERM Operation allowed because calc mode disallows read operationsE_WRPERM Operation allowed because calc mode disallows write operations
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -