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