91d9240e380e67d5b54fa080b5ab234d629adeba
[rrq/rrqforth.git] / adoc / p_current_wordlist.adoc
1 // wordlists.asm:       WORD p_wordlist,'CURRENT-WORDLIST',dovariable
2
3 anchor:p_current_wordlist[]
4
5 === Word: CURRENT-WORDLIST
6 ....
7 Data stack: ( -- a )
8 ....
9
10 "CURRENT-WORDLIST" is a variable word that points out the DFA of the
11 current word list word for <<p_find,FIND>> to use finding words. The
12 word list word content is as follows:
13 ====
14 .word list word content
15 [caption='Layout {counter:layout}: ']
16 ----
17   8 TFA of latest word in the word list
18   8 DFA of the/a subsequent word list to search through
19 ----
20 ====
21
22 Note that word lists are chained by "extension" and in general it ends
23 with the <<p_forth,FORTH>> word list. Initially the
24 <<p_system,SYSTEM>> word list is the only other word list.
25