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