standardized call-out blocks
[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 ====
15 .word list word content
16 [caption='Layout {counter:layout}: ']
17 ----
18   8 TFA of latest word in the word list
19   8 DFA of the/a subsequent word list to search through
20 ----
21 ====
22
23 Note that word lists are chained by "extension" and in general it ends
24 with the <<p_forth,FORTH>> word list. Initially the
25 <<p_system,SYSTEM>> word list is the only other word list.
26