Path: ...!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Sidney Reilley Newsgroups: comp.lang.forth Subject: Re: Searching the Forth Dictionary Date: Tue, 31 Dec 2024 18:52:56 -0700 Organization: A noiseless patient Spider Lines: 28 Message-ID: <20241231185256.1ae04c7aa9c7b24a19e39956@gmail.com> References: <20241231181548.1b36ff52e0c2e65596672f3c@gmail.com> <54bed1ad1fe5b35d46f255488ba3f31c557a8eed@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Wed, 01 Jan 2025 02:52:57 +0100 (CET) Injection-Info: dont-email.me; posting-host="0a9071ef4e80cef5e6a6896e5cd517ef"; logging-data="2618384"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19w3tcJ3guFJB0GfVDXgYxm" Cancel-Lock: sha1:ElpMtNXWnbSSSn0wa4NzBJs7WYY= X-Newsreader: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Bytes: 2086 On Wed, 1 Jan 2025 12:31:46 +1100 dxf wrote: > On 1/01/2025 12:15 pm, Sidney Reilley wrote: > > Eternal Forth noob here. Tired & retired but still at it. > > I'm currently playing with pforth. I'm following along this > > video: https://youtu.be/qZKXZifB39Y which is using swiftforth. > > He uses the word `edit' to create a file. > > > > Is it possible to search a Forth implementation's dictionary to > > see if a particular words is built in - like `edit' in this > > case? TIA .. > > ' EDIT will report whether the word exists in the current search > order. > > The Standard has WORDS which displays all words. Many systems > augment that either by expanding WORDS to allow a pattern match, > or a separate word to do that. According to the pforth docs it > has: > > WORDS.LIKE Many thanks! I installed pforth by cloning its from githup repo. No docs in there. Where did you find the docs please? TIA .. -- Duke ** Bottom-posting, text-only is the netiquette way! **