figForth's Use of Pointers
Note:
There is extensive use of “Tooltips” text to support learning which do not seem to render on a Smartphone
Therefore this site is best viewed via a computer’s HD monitor
Pointers are fundamental to figForth…
“… a pointer is an object in many programming languages that stores a memory address. This can be that of another value located in computer memory, or in some cases, that of memory-mapped computer hardware. A pointer references a location in memory, and obtaining the value stored at that location is known as dereferencing the pointer. As an analogy, a page number in a book’s index could be considered a pointer to the corresponding page; dereferencing such a pointer would be done by flipping to the page with the given page number and reading the text found on that page” Source: Wikipedia
A Pointer to Memory Image#1: Wikipedia
A general explanation: “Pointer a pointing to the memory address associated with variable b. In this diagram, the computing architecture uses the same address space and data primitive for both pointers and non-pointers; this need not always be the case” Source: Wikipedia (my emphasis)
Important Note: Pointer a can be held in a register as well as a memory location…