summaryrefslogtreecommitdiffstats
path: root/test/04-function-nested.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-nested.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-nested.txt')
-rw-r--r--test/04-function-nested.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/04-function-nested.txt b/test/04-function-nested.txt
new file mode 100644
index 0000000..f12ab6d
--- /dev/null
+++ b/test/04-function-nested.txt
@@ -0,0 +1,10 @@
+%% Test case for nested functions.
+%mode init
+A5=MIN(MIN(2, 4), MAX(1,8))
+A6=CONCATENATE("min: ", MIN(A5, 4), "; max: ", MAX(1, 8))
+%calc
+%mode result
+A5=2
+A6="min: 2; max: 8"
+%check
+%exit