From Newsgroup: comp.lang.forth
On 07-06-2026 04:29, dxf wrote:
I bet your "END" equals my ";THEN" (aka "THEN EXIT")?
If you mean "EXIT THEN" then yes :)
Yeah - a case of brain fog. I'm getting older. It happens :(
I've had END for about 10 years ago and it's been used a lot. Moore
realized most use of 'ELSE' was in fact redundant - why branch to the
end of a definition when one can simply EXIT?
In my case it was a neat way to do "tail call recursion". If the last
word of the "IF" part could be replaced by a "BRANCH" it was faster and tighter. I added it on June 8th, 2017. Not quite 10 years, but close
enough ;-)
While 'EXIT THEN' has
been around forever and one sees it used occasionally, it's a bit of
a mouthful. I chose the name 'END' as a) it fits and b) it hadn't
been used in forth since the mid/late 70's. END was the original
name for UNTIL .
I supported "END" as well. Can't say in what capacity because I removed
it November 1st, 1997 -- along with "ENDIF" and "R". ;-)
BTW, ported parts of QUAD.SCR to 4tH. And wrote a TTESTER file for it
(if you're interested). Hope you don't mind. Of course -- full credits
in the source.
But that's why the "END" question came up!
Hans Bezemer
--- Synchronet 3.22a-Linux NewsLink 1.2