aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/forth2012/core/action-of.frt
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/lib/forth2012/core/action-of.frt')
-rw-r--r--amforth-6.5/common/lib/forth2012/core/action-of.frt14
1 files changed, 14 insertions, 0 deletions
diff --git a/amforth-6.5/common/lib/forth2012/core/action-of.frt b/amforth-6.5/common/lib/forth2012/core/action-of.frt
new file mode 100644
index 0000000..894b399
--- /dev/null
+++ b/amforth-6.5/common/lib/forth2012/core/action-of.frt
@@ -0,0 +1,14 @@
+\ *******************************************
+\ action-of depends on defer@
+\ *******************************************
+
+\ #requires postpone.frt
+
+: action-of
+ state @
+ if
+ postpone ['] postpone defer@
+ else
+ ' defer@
+ then
+; immediate