summaryrefslogtreecommitdiffstats
path: root/test/04-function-n.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-n.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-n.txt')
-rw-r--r--test/04-function-n.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/04-function-n.txt b/test/04-function-n.txt
new file mode 100644
index 0000000..28585b6
--- /dev/null
+++ b/test/04-function-n.txt
@@ -0,0 +1,26 @@
+%mode init
+A1=N(12)
+A2=N("str")
+A3=N(TRUE())
+A4=N(FALSE())
+B1:12
+B2:true
+B3:false
+B4@string value
+C1=N(B1)
+C2=N(B2)
+C3=N(B3)
+C4=N(B4)
+C5=N(B5)
+%calc
+%mode result
+A1=12
+A2=0
+A3=1
+A4=0
+C1=12
+C2=1
+C3=0
+C4=0
+C5=0
+%check