Local variables can make Forth programming more enjoyable and Forth programs easier to read. Unfortunately, the locals of ANS Forth are laden with restrictions. Therefore, we provide not only the ANS Forth locals wordset, but also our own, more powerful locals wordset (we implemented the ANS Forth locals wordset through our locals wordset).
The ideas in this section have also been published in the paper
Automatic Scoping of Local Variables by M. Anton Ertl, presented
at EuroForth '94; it is available at
Go to the first, previous, next, last section, table of contents.