[gforth] / gforth / errors.fs  

gforth: gforth/errors.fs

Diff for /gforth/errors.fs between version 1.7 and 1.10

version 1.7, Wed Feb 3 00:10:20 1999 UTC version 1.10, Sat Sep 23 15:05:59 2000 UTC
Line 1 
Line 1 
 \ Load in error strings  \ Load in error strings
   
 \ Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.  \ Copyright (C) 1995,1996,1997,1998,1999 Free Software Foundation, Inc.
   
 \ This file is part of Gforth.  \ This file is part of Gforth.
   
Line 30 
Line 30 
 variable next-exception -2048 next-exception !  variable next-exception -2048 next-exception !
   
 : exception ( addr u -- n ) \ exception- gforth  : exception ( addr u -- n ) \ exception- gforth
     \G @var{n} is a previously unused THROW value in the range      \G @var{n} is a previously unused @code{throw} value in the range
     \G (-4095...-256). Consecutive calls to EXCEPTION return      \G (-4095...-256). Consecutive calls to @code{exception} return
     \G consecutive decreasing numbers. Gforth uses the string      \G consecutive decreasing numbers. Gforth uses the string
     \G @var{addr u} as error message.      \G @var{addr u} as an error message.
     next-exception @ errstring      next-exception @ errstring
     next-exception @      next-exception @
     -1 next-exception +! ;      -1 next-exception +! ;
Line 44 
Line 44 
 -3 s" Stack overflow" rot errstring  -3 s" Stack overflow" rot errstring
 -4 s" Stack underflow" rot errstring  -4 s" Stack underflow" rot errstring
 -5 s" Return stack overflow" rot errstring  -5 s" Return stack overflow" rot errstring
 -6 s" Return stack undeflow" rot errstring  -6 s" Return stack underflow" rot errstring
 -7 s" Do-loops nested too deeply" rot errstring  -7 s" Do-loops nested too deeply" rot errstring
 -8 s" Dictionary overflow" rot errstring  -8 s" Dictionary overflow" rot errstring
 -9 s" Invalid memory address" rot errstring  -9 s" Invalid memory address" rot errstring


Generate output suitable for use with a patch program
Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help