1*5486Slinton /* Copyright (c) 1982 Regents of the University of California */ 2*5486Slinton 3*5486Slinton static char sccsid[] = "@(#)pxerrors.c 1.1 01/18/82"; 4*5486Slinton 5*5486Slinton /* 6*5486Slinton * px error messages 7*5486Slinton */ 8*5486Slinton 9*5486Slinton char *pxerrmsg[] ={ 10*5486Slinton "not an error!", 11*5486Slinton "argument to chr out of range", 12*5486Slinton "div (integer divide) by zero", 13*5486Slinton "real divide by zero", 14*5486Slinton "call to procedure halt", 15*5486Slinton "reference through a nil pointer", 16*5486Slinton "tried to read past end-of-file", 17*5486Slinton "negative parameter to sqrt", 18*5486Slinton "pi/px error: stack not empty", 19*5486Slinton "subscript out of range", 20*5486Slinton "reference to an inactive file", 21*5486Slinton "pi/px error: write failed", 22*5486Slinton "pi/px error: create failed", 23*5486Slinton "non-positive argument to ln", 24*5486Slinton "pi/px error: bad op", 25*5486Slinton "bad data on integer read", 26*5486Slinton "pi/px error: active frame not found in goto", 27*5486Slinton "label not found in case", 28*5486Slinton "pi/px error: seek failed", 29*5486Slinton "pi/px error: bad parameter to alloc", 30*5486Slinton "out of memory", 31*5486Slinton "constructed set parameter exceeds set bounds", 32*5486Slinton "too many digits in number", 33*5486Slinton "mod (integer remainder) by 0", 34*5486Slinton "bad data on real read", 35*5486Slinton "pi/px error: remove failed", 36*5486Slinton "pi/px error: close failed", 37*5486Slinton "pi/px error: open failed", 38*5486Slinton "parameter to argv out of range", 39*5486Slinton "bad i to pack(a, i, z)", 40*5486Slinton "bad i to unpack(z, a, i)", 41*5486Slinton "value out of range", 42*5486Slinton "assertion failed", 43*5486Slinton "tried to read, but open for writing", 44*5486Slinton "tried to write, but open for reading", 45*5486Slinton "integer number too large", 46*5486Slinton "statement limit exceeded", 47*5486Slinton "runtime stack overflow", 48*5486Slinton "interrupt", 49*5486Slinton "overflow in arithmetic operation", 50*5486Slinton }; 51