summaryrefslogtreecommitdiffstats
path: root/test/04-function-rept.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
commit00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch)
treea6a58bd544eb0b76b9d3acc678ea88791acca045 /test/04-function-rept.txt
parentInitial commit. (diff)
downloadlibixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.tar.xz
libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.zip
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/04-function-rept.txt')
-rw-r--r--test/04-function-rept.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/04-function-rept.txt b/test/04-function-rept.txt
new file mode 100644
index 0000000..031a854
--- /dev/null
+++ b/test/04-function-rept.txt
@@ -0,0 +1,19 @@
+%mode init
+A1=REPT("a", 0)
+A2=REPT("a", 1)
+A3=REPT("a", 2)
+A4=REPT("a", 3)
+A5=REPT("a", -1)
+B1=REPT("<->", 5)
+B2=REPT(RIGHT("abcdef", 3), 2)
+%calc
+%mode result
+A1=""
+A2="a"
+A3="aa"
+A4="aaa"
+A5=#VALUE!
+B1="<-><-><-><-><->"
+B2="defdef"
+%check
+