6.22 Locals

Local variables can make Forth programming more enjoyable and Forth programs easier to read. Unfortunately, the locals of Standard Forth are laden with restrictions. Therefore, we provide not only the Standard Forth locals wordset, but also our own, more powerful locals wordset (we implemented the Standard Forth locals wordset through our locals wordset).

The ideas in this section have also been published in M. Anton Ertl, Automatic Scoping of Local Variables, EuroForth ’94.