summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-01-05 00:16:15 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-01-05 00:16:15 +0400
commitf3b12eb931da44a27c2409152ea976479ad45f58 (patch)
tree0a6637857826ecf9f19bb21d343f51c0909ac65e
parentb063fb0ecae00da2b94d23b3b8406c1c7fb34287 (diff)
examples updated so that they follow the new syntax
-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