summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/const.gorth2
-rw-r--r--examples/words.gorth2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/const.gorth b/examples/const.gorth
index fce45b8..421f7f5 100644
--- a/examples/const.gorth
+++ b/examples/const.gorth
@@ -1,4 +1,4 @@
# Prints out the value 5
-const CON 5
+define CON 5 end
CON dump
diff --git a/examples/words.gorth b/examples/words.gorth
index b88d20e..c0e1461 100644
--- a/examples/words.gorth
+++ b/examples/words.gorth
@@ -1,6 +1,6 @@
# Prints out one
-word printOutOne
+define printOutOne
1 dump
end