aboutsummaryrefslogtreecommitdiff
path: root/sts/common/macro.sts
diff options
context:
space:
mode:
Diffstat (limited to 'sts/common/macro.sts')
-rw-r--r--sts/common/macro.sts9
1 files changed, 9 insertions, 0 deletions
diff --git a/sts/common/macro.sts b/sts/common/macro.sts
new file mode 100644
index 0000000..162bf2f
--- /dev/null
+++ b/sts/common/macro.sts
@@ -0,0 +1,9 @@
+[ local 1
+ top as %1%
+]
+
+[ change 0
+ 1 + dup get
+ swap 2 get swap set
+ swap drop
+]