--- gforth/see.fs 2000/09/23 15:06:02 1.30 +++ gforth/see.fs 2000/11/13 22:10:30 1.33 @@ -16,7 +16,7 @@ \ You should have received a copy of the GNU General Public License \ along with this program; if not, write to the Free Software -\ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +\ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. \ May be cross-compiled @@ -28,7 +28,19 @@ require look.fs require termsize.fs require wordinfo.fs -[IFUNDEF] .name : .name name>string type space ; [THEN] +[IFUNDEF] .name +: id. ( nt -- ) \ gforth + \G Print the name of the word represented by @var{nt}. + \ this name comes from fig-Forth + name>string type space ; + +' id. alias .id ( nt -- ) +\G F83 name for @code{id.}. + +' id. alias .name ( nt -- ) +\G Gforth <=0.5.0 name for @code{id.}. + +[THEN] decimal @@ -480,7 +492,7 @@ c-extender ! dup cell+ swap @ dup >r DoTable r> swap IF drop EXIT THEN Display? - IF look 0= IF drop dup 1 cells - @ . \ ABORT" SEE: Bua!" + IF look 0= IF drop dup 1 cells - @ ." <" 0 .r ." >" ELSE dup cell+ count dup immediate-mask and IF bl cemit ." POSTPONE " THEN