148101Sbostic /*-
2*62133Sbostic  * Copyright (c) 1980, 1993
3*62133Sbostic  *	The Regents of the University of California.  All rights reserved.
448101Sbostic  *
548101Sbostic  * %sccs.include.redist.c%
622368Sdist  */
75486Slinton 
822368Sdist #ifndef lint
9*62133Sbostic static char sccsid[] = "@(#)pxerrors.c	8.1 (Berkeley) 06/06/93";
1048101Sbostic #endif /* not lint */
115486Slinton 
125486Slinton /*
135486Slinton  * px error messages
145486Slinton  */
155486Slinton 
165486Slinton char *pxerrmsg[] ={
175486Slinton 	"not an error!",
185486Slinton 	"argument to chr out of range",
195486Slinton 	"div (integer divide) by zero",
205486Slinton 	"real divide by zero",
215486Slinton 	"call to procedure halt",
225486Slinton 	"reference through a nil pointer",
235486Slinton 	"tried to read past end-of-file",
245486Slinton 	"negative parameter to sqrt",
255486Slinton 	"pi/px error: stack not empty",
265486Slinton 	"subscript out of range",
275486Slinton 	"reference to an inactive file",
285486Slinton 	"pi/px error: write failed",
295486Slinton 	"pi/px error: create failed",
305486Slinton 	"non-positive argument to ln",
315486Slinton 	"pi/px error: bad op",
325486Slinton 	"bad data on integer read",
335486Slinton 	"pi/px error: active frame not found in goto",
345486Slinton 	"label not found in case",
355486Slinton 	"pi/px error: seek failed",
365486Slinton 	"pi/px error: bad parameter to alloc",
375486Slinton 	"out of memory",
385486Slinton 	"constructed set parameter exceeds set bounds",
395486Slinton 	"too many digits in number",
405486Slinton 	"mod (integer remainder) by 0",
415486Slinton 	"bad data on real read",
425486Slinton 	"pi/px error: remove failed",
435486Slinton 	"pi/px error: close failed",
445486Slinton 	"pi/px error: open failed",
455486Slinton 	"parameter to argv out of range",
465486Slinton 	"bad i to pack(a, i, z)",
475486Slinton 	"bad i to unpack(z, a, i)",
485486Slinton 	"value out of range",
495486Slinton 	"assertion failed",
505486Slinton 	"tried to read, but open for writing",
515486Slinton 	"tried to write, but open for reading",
525486Slinton 	"integer number too large",
535486Slinton 	"statement limit exceeded",
545486Slinton 	"runtime stack overflow",
555486Slinton 	"interrupt",
565620Smckusic 	"overflow, underflow, or divide by zero in arithmetic operation",
575486Slinton };
58