I discovered that some words documented in the Gforth manual, like MAX-U >(environment wordset) and u/ (gforth-1.0 wordset), are undefined in my >installations of Gforth 0.7.3.
Is there something messed up with my installations, or is there
something else (Forth command, installation, Gforth upgrade) to make
such words/wordsets available in my Gforth environment?
--
David Meyer
I discovered that some words documented in the Gforth manual, like MAX-U >(environment wordset) and u/ (gforth-1.0 wordset), are undefined in my >installations of Gforth 0.7.3.
Is there something messed up with my installations, or is there
something else (Forth command, installation, Gforth upgrade) to make
such words/wordsets available in my Gforth environment?
David Meyer <papa@sdf.org> writes:
I discovered that some words documented in the Gforth manual, like MAX-U >>(environment wordset) and u/ (gforth-1.0 wordset), are undefined in my >>installations of Gforth 0.7.3.
Is there something messed up with my installations, or is there
something else (Forth command, installation, Gforth upgrade) to make
such words/wordsets available in my Gforth environment?
The manual you are using is not the one for the Gforth version you are
using.
- anton
David Meyer <papa@sdf.org> writes:
I discovered that some words documented in the Gforth manual, like MAX-U >>(environment wordset) and u/ (gforth-1.0 wordset), are undefined in my >>installations of Gforth 0.7.3.
You can find the manual for Gforth-0.7 on <https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/>.
Alternatively, you can install a recent snapshot using one of the
methods mentioned on <https://gforth.org/>.
The only thing that still mystifies me is why a seemingly basic word
like u/ wasn't added until so recently.
David Meyer <papa@sdf.org> writes:
The only thing that still mystifies me is why a seemingly basic word
like u/ wasn't added until so recently.
The standard has UM/MOD (and that has been in Gforth from the start)
if / does not satisfy your needs.
Actually IIRC we did not add U/ because of user demand, but mainly
because of implementation (speed of U/ vs UM/MOD on various CPUs) and completeness considerations.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 503 |
Nodes: | 16 (2 / 14) |
Uptime: | 231:51:30 |
Calls: | 9,885 |
Calls today: | 7 |
Files: | 13,794 |
Messages: | 6,206,741 |
Posted today: | 2 |