File:  [gforth] / gforth / errors.fs
Revision 1.4: download - view: text, annotated - select for diffs
Sun Jul 6 14:11:21 1997 UTC (24 years, 3 months ago) by jwilke
Branches: MAIN
CVS tags: HEAD
Small changes.
Jens

    1: \ Load in error strings
    2: 
    3: \ Copyright (C) 1995-1997 Free Software Foundation, Inc.
    4: 
    5: \ This file is part of Gforth.
    6: 
    7: \ Gforth is free software; you can redistribute it and/or
    8: \ modify it under the terms of the GNU General Public License
    9: \ as published by the Free Software Foundation; either version 2
   10: \ of the License, or (at your option) any later version.
   11: 
   12: \ This program is distributed in the hope that it will be useful,
   13: \ but WITHOUT ANY WARRANTY; without even the implied warranty of
   14: \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15: \ GNU General Public License for more details.
   16: 
   17: \ You should have received a copy of the GNU General Public License
   18: \ along with this program; if not, write to the Free Software
   19: \ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   20: 
   21: [IFUNDEF] linked \ defined by chains.fs?!
   22: : linked        here over @ a, swap ! ;
   23: [THEN]
   24: 
   25: : ERR" ( n -- )
   26:        ErrLink linked
   27:        ,
   28:        [char] " parse
   29:        string, align ;
   30: 
   31: decimal
   32: 
   33: -1 ERR" Aborted"
   34: -3 ERR" Stack overflow"
   35: -4 ERR" Stack underflow"
   36: -5 ERR" Return stack overflow"
   37: -6 ERR" Return stack undeflow"
   38: -7 ERR" Do-loops nested too deeply"
   39: -8 ERR" Dictionary overflow"
   40: -9 ERR" Invalid memory address"
   41: -10 ERR" Division by zero"
   42: -11 ERR" Result out of range"
   43: -12 ERR" Argument type mismatch"
   44: -13 ERR" Undefined word"
   45: -14 ERR" Interpreting a compile-only word"
   46: -15 ERR" Invalid FORGET"
   47: -16 ERR" Attempt to use zero-length string as a name"
   48: -17 ERR" Pictured numeric ouput string overflow"
   49: -18 ERR" Parsed string overflow"
   50: -19 ERR" Word name too long"
   51: -20 ERR" Write to a read-only location"
   52: -21 ERR" Unsupported operation"
   53: -22 ERR" Control structure mismatch"
   54: -23 ERR" Address alignment exception"
   55: -24 ERR" Invalid numeric argument"
   56: -25 ERR" Return stack imbalance"
   57: -26 ERR" Loop parameters unavailable"
   58: -27 ERR" Invalid recursion"
   59: -28 ERR" User interrupt"
   60: -29 ERR" Compiler nesting"
   61: -30 ERR" Obsolescent feature"
   62: -31 ERR" >BODY used on non-CREATEd definition"
   63: -32 ERR" Invalid name argument"
   64: -33 ERR" Block read exception"
   65: -34 ERR" Block write exception"
   66: -35 ERR" Invalid block number"
   67: -36 ERR" Invalid file position"
   68: -37 ERR" File I/O exception"
   69: -38 ERR" Non-existent file"
   70: -39 ERR" Unexpected end of file"
   71: -40 ERR" Invalid BASE for floating point conversion"
   72: -41 ERR" Loss of precision"
   73: -42 ERR" Floating-point divide by zero"
   74: -43 ERR" Floating-point result out of range"
   75: -44 ERR" Floating-point stack overflow"
   76: -45 ERR" Floating-point stack underflow"
   77: -46 ERR" Floating-point invalid argument"
   78: -47 ERR" Compilation word list deleted"
   79: -48 ERR" invalid POSTPONE"
   80: -49 ERR" Search-order overflow"
   81: -50 ERR" Search-order underflow"
   82: -51 ERR" Compilation word list changed"
   83: -52 ERR" Control-flow stack overflow"
   84: -53 ERR" Exception stack overflow"
   85: -54 ERR" Floating-point underflow"
   86: -55 ERR" Floating-point unidentified fault"
   87: -56 ERR" QUIT"
   88: -57 ERR" Error in sending or receiving a character"
   89: -58 ERR" [IF], [ELSE], [THEN] error"
   90:  

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