michel wrote:
Whether or not an old definition is retained if
a word is redefined is a different question, in
the case of Parakeet, it will increment by two
because all high level words are looked up by
name at run-time via indirect threading.
This is an incorrect __Forth__ behaviour. gForth's is correct.
If you want print+ to increment by two, it should be redefined to do that.
A compiled word should not change its behaviour.
matt wrote:
I'd be interesting in knowing which was the
"correct" behavior.
I suspect it is implementation defined, but
unfortunately taygeta.com is not working for me
right now.