aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/forth2012/search/previous.frt
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/lib/forth2012/search/previous.frt')
-rw-r--r--amforth-6.5/common/lib/forth2012/search/previous.frt8
1 files changed, 8 insertions, 0 deletions
diff --git a/amforth-6.5/common/lib/forth2012/search/previous.frt b/amforth-6.5/common/lib/forth2012/search/previous.frt
new file mode 100644
index 0000000..8d78394
--- /dev/null
+++ b/amforth-6.5/common/lib/forth2012/search/previous.frt
@@ -0,0 +1,8 @@
+\ remove the first entry in the search order list
+
+\ #require get-order.frt
+\ #require set-order.frt
+
+: previous
+ get-order nip 1- set-order
+;