Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!decwrl!ucbvax!MITCH.ENG.SUN.COM!wmb From: wmb@MITCH.ENG.SUN.COM Newsgroups: comp.lang.forth Subject: Re: Vocabularies Message-ID: <9008101430.AA05479@ucbvax.Berkeley.EDU> Date: 10 Aug 90 03:19:15 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: wmb%MITCH.ENG.SUN.COM@SCFVM.GSFC.NASA.GOV Organization: The Internet Lines: 19 > What is the 'proper' defn of LATEST? > > 1) : LATEST CONTEXT @ @ ; > or 2) : LATEST CURRENT @ @ ; 2, definitely. Otherwise you could screw up royally by typing, for instance: : FOO [ ASSEMBLER ] SWAP ; In F83, there is a separate variable LAST that remembers the most recent word. This is necessary because F83 implements "smudging" by unlinking the word from the vocabulary thread while it is being defined, and hooking it back in when the definition is complete. Actually, my personal belief is that there should not be a separate CURRENT vocabulary. Definitions should go into the first vocabulary in the search order. But we've already had that discussion... Mitch