3 ms·
The ANS Forth standard supports named local variables. Unfortunately Forth dialects vary quite a bit in their implementation and prefered use of local variables
by chalst 6y ago
The ANS Forth standard supports named local variables. Unfortunately Forth dialects vary quite a bit in their implementation and prefered use of local variables, and the semantics of local variables are a bit hairy.
Cf. https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/ANS-Forth-locals.html https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/ANS...