summaryrefslogtreecommitdiffstats
path: root/examples/sc
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-05-23 11:20:33 -0300
committerAndrés <andmarti@gmail.com>2021-05-23 11:20:33 -0300
commitf74e624f9288d7f46db5b8b678aa848c0994333b (patch)
tree9516165412293af1ea0ce4558a5495256e2a62d0 /examples/sc
parent22bd9c392fb2665b80ade56e06fac00d3224f452 (diff)
handle loading file with sheets and not repeating Sheet 1
Diffstat (limited to 'examples/sc')
-rw-r--r--examples/sc/sheets/a.sc11
-rw-r--r--examples/sc/sheets/b.sc7
-rw-r--r--examples/sc/sheets/c.sc8
3 files changed, 26 insertions, 0 deletions
diff --git a/examples/sc/sheets/a.sc b/examples/sc/sheets/a.sc
new file mode 100644
index 0000000..eb0eb1c
--- /dev/null
+++ b/examples/sc/sheets/a.sc
@@ -0,0 +1,11 @@
+# This data file was generated by the Spreadsheet Calculator Improvised (SC-IM)
+# You almost certainly shouldn't edit it.
+
+set external_functions
+newsheet "UNO"
+let A0 = 1
+newsheet "DOS"
+let B1 = 2
+newsheet "TRES"
+let C2 = 4
+goto C2
diff --git a/examples/sc/sheets/b.sc b/examples/sc/sheets/b.sc
new file mode 100644
index 0000000..84dd564
--- /dev/null
+++ b/examples/sc/sheets/b.sc
@@ -0,0 +1,7 @@
+# This data file was generated by the Spreadsheet Calculator Improvised (SC-IM)
+# You almost certainly shouldn't edit it.
+
+set external_functions
+let C2 = 4
+let D2 = 15
+goto C2
diff --git a/examples/sc/sheets/c.sc b/examples/sc/sheets/c.sc
new file mode 100644
index 0000000..55ed348
--- /dev/null
+++ b/examples/sc/sheets/c.sc
@@ -0,0 +1,8 @@
+# This data file was generated by the Spreadsheet Calculator Improvised (SC-IM)
+# You almost certainly shouldn't edit it.
+
+set external_functions
+newsheet "Sheet 1"
+let C2 = 4
+let D2 = 15
+goto C2