summaryrefslogtreecommitdiffstats
path: root/test/04-function-sheets.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-sheets.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 '')
-rw-r--r--test/04-function-sheets.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/04-function-sheets.txt b/test/04-function-sheets.txt
new file mode 100644
index 0000000..c427fda
--- /dev/null
+++ b/test/04-function-sheets.txt
@@ -0,0 +1,27 @@
+%% SHEETS returns the number of sheets contained in the reference, or the total
+%% number of sheets in the whole document.
+%mode session
+insert-sheet:Sheet1
+insert-sheet:Sheet2
+insert-sheet:Sheet3
+current-sheet:Sheet1
+%mode init
+A1=SHEETS()
+A2=SHEETS(A1)
+A3=SHEETS(Sheet2!B1:C4)
+A4=SHEETS("str")
+A5=SHEETS(1.2)
+A6=SHEETS(Sheet1:Sheet2!A1)
+A7=SHEETS(Sheet2:Sheet3!B2)
+A8=SHEETS(Sheet1:Sheet3!B10)
+%calc
+%mode result
+A1=3
+A2=1
+A3=1
+A4=#N/A
+A5=#N/A
+A6=2
+A7=2
+A8=3
+%check