1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2 ;; word finder (linear list)
3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5 $FORTH_CONST (VLIST-HASHED) 0
8 ; (XFIND) ( caddr voclwptr -- cfa b tf ok)
9 ; ( caddr voclwptr -- ff bad)
10 ; Searches the dictionary starting at the name field address @voclwptr,
11 ; matching to the text at addr,l. Returns parameter field address, length
12 ; byte of name field and true for a good match. If no match is found, only
13 ; a boolean false is left.
14 ; note that `voclwptr` should point to a vocabulary for hashtable version.
17 $FORTH_CODE_WORD (XFIND)
19 ;; ( addr l voclwptr -- cfa b tf ok)
20 ;; ( addr l voclwptr -- ff bad)
21 ; load latest vocabulary word
77 $FORTH_END_CODE_WORD (XFIND)