aboutsummaryrefslogtreecommitdiff
path: root/example.tsl
diff options
context:
space:
mode:
Diffstat (limited to 'example.tsl')
-rw-r--r--example.tsl18
1 files changed, 18 insertions, 0 deletions
diff --git a/example.tsl b/example.tsl
index e868f77..5146713 100644
--- a/example.tsl
+++ b/example.tsl
@@ -37,6 +37,24 @@ value5 = ["hello", "world", 5]
# setv "list_index_value"
list_index_value = value5[0]
+# loadn 1
+# loadn 2
+# list 2
+# setv "list1"
+list1 = [1, 2]
+
+# loadn 3
+# loadn 4
+# list 2
+# setv "list2"
+list2 = [3, 4]
+
+# loadv "list1"
+# loadv "list2"
+# add
+# setv "list3"
+list3 = list1 + list2
+
# loads "hello"
# loads "world"
# loads "value"