aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/forth2012/search/forth.frt
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/lib/forth2012/search/forth.frt')
-rw-r--r--amforth-6.5/common/lib/forth2012/search/forth.frt10
1 files changed, 10 insertions, 0 deletions
diff --git a/amforth-6.5/common/lib/forth2012/search/forth.frt b/amforth-6.5/common/lib/forth2012/search/forth.frt
new file mode 100644
index 0000000..77d6e6f
--- /dev/null
+++ b/amforth-6.5/common/lib/forth2012/search/forth.frt
@@ -0,0 +1,10 @@
+\ replace the first search order entry
+\ with forth-wordlist
+
+\ #require get-order.frt
+\ #require set-order.frt
+
+: forth
+ get-order nip
+ forth-wordlist swap set-order
+;