diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-09-20 00:03:32 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-09-20 00:03:32 -0400 |
commit | be9813b1062c1f9b2c0d13a76d56c41ba984c1db (patch) | |
tree | fbfa5b93495c14c646009c92c3b403e639ad9161 /tnslc/util.tnsl | |
parent | 5582d6427e2bc09b9975615f87cace64ce2d29ca (diff) |
Generate a dummy file
Diffstat (limited to 'tnslc/util.tnsl')
-rw-r--r-- | tnslc/util.tnsl | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/tnslc/util.tnsl b/tnslc/util.tnsl index 4e2849b..5d84dec 100644 --- a/tnslc/util.tnsl +++ b/tnslc/util.tnsl @@ -32,18 +32,10 @@ ;return true ;/ -/; add_strings (~{}charp a, b) [{}charp] - ;{}charp out = "" - - /; loop (int i = 0; i < len a`) [i++] - ;out.append(a`{i}) - ;/ - +/; add_strings (~{}charp a, b) /; loop (int i = 0; i < len b`) [i++] - ;out.append(b`{i}) + ;a`.append(b`{i}) ;/ - - ;return out ;/ /; reverse_string({}charp str) [{}charp] |