Vocabulary and wordlist tools

: VOC?          \ wid -- flag
Return TRUE if 'wid' is actually a vocabulary.

: .VOC          \ wid --
If wid represents a vocabulary, display its name, otherwise just display its value.

: ORDER         \ --
Display the current search order and definitions vocabularies.

: VOCS          \ --
Display all vocabularies.

: $FORGET       \ c-addr --
Forgets word name in given string. See FORGET.

: FORGET        \ "<spaces>name" --
Used in the form "FORGET <name>", <name> and all following words are removed from the dictionary. This word is marked obsolescent in the ANS specification, and is replaced by MARKER.

: MARKER        \ "<spaces>name" -- ; Exec: --
MARKER <name> creates a word that when executed removes itself and ALL following definitions from the dictionary. MARKER is the ANS replacement for FORGET. MARKER automatically trims all wordlist and vocabulary based chains.

: EMPTY         \ --
Removes all words added since power up. Use only when compiling into RAM.