summaryrefslogtreecommitdiffstats
path: root/test/04-function-isformula.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/04-function-isformula.txt')
-rw-r--r--test/04-function-isformula.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/04-function-isformula.txt b/test/04-function-isformula.txt
new file mode 100644
index 0000000..f283b54
--- /dev/null
+++ b/test/04-function-isformula.txt
@@ -0,0 +1,20 @@
+%% Test for ISFORMULA function.
+%mode init
+A1:1
+A2@string
+A3="string"
+A4=1/2
+B1=ISFORMULA(A1)
+B2=ISFORMULA(A2)
+B3=ISFORMULA(A3)
+B4=ISFORMULA(A4)
+B5=ISFORMULA(A5)
+%calc
+%mode result
+B1=false
+B2=false
+B3=true
+B4=true
+B5=false
+%check
+%exit