Annotation of 43BSDReno/pgrm/pascal/pdx/machine/pxerrors.c, revision 1.1.1.1

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.