--- gforth/stuff.fs 2006/01/28 18:57:20 1.50 +++ gforth/stuff.fs 2007/02/23 22:33:21 1.55 @@ -1,6 +1,6 @@ \ miscelleneous words -\ Copyright (C) 1996,1997,1998,2000,2003,2004,2005 Free Software Foundation, Inc. +\ Copyright (C) 1996,1997,1998,2000,2003,2004,2005,2006 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -301,8 +301,9 @@ AUser CSP [then] : f.s ( -- ) \ gforth f-dot-s - \G Display the number of items on the floating-point stack, - \G followed by a list of the items; TOS is the right-most item. +\G Display the number of items on the floating-point stack, followed +\G by a list of the items (but not more than specified by +\G @code{maxdepth-.s}; TOS is the right-most item. ." <" fdepth 0 .r ." > " fdepth 0 max maxdepth-.s @ min dup 0 ?DO dup i - 1- floats fp@ + f@ 16 5 11 f.rdp space LOOP drop ; @@ -350,4 +351,40 @@ previous ' uw@ alias w@ ( addr -- u ) ' ul@ alias l@ ( addr -- u ) \ ' sw@ alias