File:  [gforth] / gforth / errors.fs
Revision 1.1: download - view: text, annotated - select for diffs
Thu Feb 6 21:22:59 1997 UTC (27 years, 1 month ago) by pazsan
Branches: MAIN
CVS tags: HEAD
Started to merge in changes made for gforth-EC project.

    1: \ Load in error strings
    2: 
    3: : linked        here over @ a, swap ! ;
    4: 
    5: : ERR" ( n -- )
    6:        ErrLink linked
    7:        ,
    8:        [char] " parse
    9:        string, align ;
   10: 
   11: decimal
   12: 
   13: -1 ERR" Aborted"
   14: -3 ERR" Stack overflow"
   15: -4 ERR" Stack underflow"
   16: -5 ERR" Return stack overflow"
   17: -6 ERR" Return stack undeflow"
   18: -7 ERR" Do-loops nested too deeply"
   19: -8 ERR" Dictionary overflow"
   20: -9 ERR" Invalid memory address"
   21: -10 ERR" Division by zero"
   22: -11 ERR" Result out of range"
   23: -12 ERR" Argument type mismatch"
   24: -13 ERR" Undefined word"
   25: -14 ERR" Interpreting a compile-only word"
   26: -15 ERR" Invalid FORGET"
   27: -16 ERR" Attempt to use zero-length string as a name"
   28: -17 ERR" Pictured numeric ouput string overflow"
   29: -18 ERR" Parsed string overflow"
   30: -19 ERR" Word name too long"
   31: -20 ERR" Write to a read-only location"
   32: -21 ERR" Unsupported operation"
   33: -22 ERR" Control structure mismatch"
   34: -23 ERR" Address alignment exception"
   35: -24 ERR" Invalid numeric argument"
   36: -25 ERR" Return stack imbalance"
   37: -26 ERR" Loop parameters unavailable"
   38: -27 ERR" Invalid recursion"
   39: -28 ERR" User interrupt"
   40: -29 ERR" Compiler nesting"
   41: -30 ERR" Obsolescent feature"
   42: -31 ERR" >BODY used on non-CREATEd definition"
   43: -32 ERR" Invalid name argument"
   44: -33 ERR" Block read exception"
   45: -34 ERR" Block write exception"
   46: -35 ERR" Invalid block number"
   47: -36 ERR" Invalid file position"
   48: -37 ERR" File I/O exception"
   49: -38 ERR" Non-existent file"
   50: -39 ERR" Unexpected end of file"
   51: -40 ERR" Invalid BASE for floating point conversion"
   52: -41 ERR" Loss of precision"
   53: -42 ERR" Floating-point divide by zero"
   54: -43 ERR" Floating-point result out of range"
   55: -44 ERR" Floating-point stack overflow"
   56: -45 ERR" Floating-point stack underflow"
   57: -46 ERR" Floating-point invalid argument"
   58: -47 ERR" Compilation word list deleted"
   59: -48 ERR" invalid POSTPONE"
   60: -49 ERR" Search-order overflow"
   61: -50 ERR" Search-order underflow"
   62: -51 ERR" Compilation word list changed"
   63: -52 ERR" Control-flow stack overflow"
   64: -53 ERR" Exception stack overflow"
   65: -54 ERR" Floating-point underflow"
   66: -55 ERR" Floating-point unidentified fault"
   67: -56 ERR" QUIT"
   68: -57 ERR" Error in sending or receiving a character"
   69: -58 ERR" [IF], [ELSE], [THEN] error"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>