aboutsummaryrefslogtreecommitdiff
path: root/forth/forth/forget.fs
diff options
context:
space:
mode:
Diffstat (limited to 'forth/forth/forget.fs')
-rw-r--r--forth/forth/forget.fs18
1 files changed, 18 insertions, 0 deletions
diff --git a/forth/forth/forget.fs b/forth/forth/forget.fs
new file mode 100644
index 0000000..8e226fd
--- /dev/null
+++ b/forth/forth/forget.fs
@@ -0,0 +1,18 @@
+\ *********************************************************************
+\ *
+\ Filename: core.txt *
+\ Date: 31.12.2013 *
+\ FF Version: 5.0 *
+\ Copyright: Mikael Nordman *
+\ Author: Mikael Nordman *
+\ *********************************************************************
+\ FlashForth is licensed acording to the GNU General Public License*
+\ *********************************************************************
+\ Some extra core words
+
+: forget ( --- name )
+ bl word latest @ (f) ?abort?
+ c>n 2- dup @ ?abort?
+ dup flash dp ! @ latest ! ram
+;
+