Re: Searching the Forth Dictionary

Liste des GroupesRevenir à cl forth 
Sujet : Re: Searching the Forth Dictionary
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forth
Date : 01. Jan 2025, 02:31:46
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <54bed1ad1fe5b35d46f255488ba3f31c557a8eed@i2pn2.org>
References : 1
User-Agent : Mozilla Thunderbird
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' <filename> 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 <name>


Date Sujet#  Auteur
1 Jan 25 * Searching the Forth Dictionary8Sidney Reilley
1 Jan 25 +* Re: Searching the Forth Dictionary6dxf
1 Jan 25 i`* Re: Searching the Forth Dictionary5Sidney Reilley
1 Jan 25 i +* Re: Searching the Forth Dictionary3dxf
1 Jan 25 i i`* Re: Searching the Forth Dictionary2Sidney Reilley
1 Jan 25 i i `- Re: Searching the Forth Dictionary1albert
1 Jan 25 i `- Re: Searching the Forth Dictionary1albert
1 Jan 25 `- Re: Searching the Forth Dictionary1albert

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal