summaryrefslogtreecommitdiff
path: root/include/text.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/text.inc')
-rw-r--r--include/text.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/text.inc b/include/text.inc
new file mode 100644
index 0000000..bb76453
--- /dev/null
+++ b/include/text.inc
@@ -0,0 +1,19 @@
+INCLUDE "charmap.inc"
+
+text: macro
+_arg = 1
+ rept _NARG
+_WS EQUS \1
+_len = STRLEN("{_WS}")
+_i = 1
+ rept _len
+ dw STRSUB("{_WS}", _i, 1)
+_i = _i + 1
+ endr
+ PURGE _WS
+ shift
+_arg = _arg + 1
+ endr
+endm
+line EQUS "dw TX_LF\n text"
+done EQUS "dw TX_END"