version 1.22, 2000/09/23 15:46:59
|
version 1.24, 2003/01/19 23:35:30
|
Line 1
|
Line 1
|
\ WORDINFO.FS V1.0 17may93jaw |
\ WORDINFO.FS V1.0 17may93jaw |
|
|
\ Copyright (C) 1995,1996,1998,2000 Free Software Foundation, Inc. |
\ Copyright (C) 1995-2003 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
Line 33 require look.fs
|
Line 33 require look.fs
|
: alias? ( nfa1 -- nfa2|0 ) |
: alias? ( nfa1 -- nfa2|0 ) |
\ if nfa1 is an alias, nfa2 is the name of the original word. |
\ if nfa1 is an alias, nfa2 is the name of the original word. |
\ if the original word has no name, return 0. |
\ if the original word has no name, return 0. |
dup cell+ c@ alias-mask and 0= |
dup cell+ @ alias-mask and 0= |
IF ( nfa1 ) |
IF ( nfa1 ) |
((name>)) @ >name |
((name>)) @ >name |
ELSE |
ELSE |