summaryrefslogtreecommitdiffstats
path: root/test/04-function-isna.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/04-function-isna.txt')
-rw-r--r--test/04-function-isna.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/04-function-isna.txt b/test/04-function-isna.txt
new file mode 100644
index 0000000..148c649
--- /dev/null
+++ b/test/04-function-isna.txt
@@ -0,0 +1,20 @@
+%mode init
+B1=NA()
+B2=B1
+B3=ISNA(B1)
+B4=ISNA(B2)
+B5=ISNA(B3)
+B6=ISNA(1)
+B7=ISNA("str")
+B8=ISNA(NA())
+%calc
+%mode result
+B1=#N/A
+B2=#N/A
+B3=true
+B4=true
+B5=false
+B6=false
+B7=false
+B8=true
+%check