Skip to content

Commit

Permalink
GH-67 Reimplement ORDER due to misinterpretation.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirWumpus committed Nov 10, 2024
1 parent ac9f851 commit 8d3ae2d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/post4.p4
Original file line number Diff line number Diff line change
Expand Up @@ -2787,9 +2787,8 @@ FORTH-WORDLIST SET-CURRENT
: show_wid ( wid -- ) S\" \e[36m[ " TYPE #. S\" ]\e[0m\r\n" TYPE ; $10 _pp!

: ORDER ( -- )
GET-ORDER
BEGIN ?DUP WHILE 1- SWAP DUP show_wid words-in REPEAT
GET-CURRENT DUP show_wid words-in
." Search: " GET-ORDER 0 DO . SPACE LOOP CR
." Define: " GET-CURRENT . CR
;

WORDLIST CONSTANT required-wordlist
Expand Down

0 comments on commit 8d3ae2d

Please sign in to comment.