summaryrefslogtreecommitdiff
path: root/test.out
diff options
context:
space:
mode:
authoradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-06-30 23:25:24 +0200
committeradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-06-30 23:25:24 +0200
commit337c1c8abbe199670259bb043b95b541945427f4 (patch)
treefbb8560b9f1239b317cfb481d10383b0a51ab8bc /test.out
parent21622fd15950bfb975ca8fef73a8ca1bd4c2a8e2 (diff)
parent1ec6dc9e106deed2e71bcad5ec74db65b9c61677 (diff)
Merge remote-tracking branch 'remotes/github/build-009669' into build-009669build-009669
Diffstat (limited to 'test.out')
-rw-r--r--test.out13
1 files changed, 13 insertions, 0 deletions
diff --git a/test.out b/test.out
index 0caafb1..31bac64 100644
--- a/test.out
+++ b/test.out
@@ -16,6 +16,11 @@ assert 5 == say len foo;
# Print the last index of the array
assert 4 == say ind foo;
+
+# Print the 3rd element of the array
+say foo[3];
+
+#say "bla";
Token (id=00000, line=00006, pos=0005, type=TT_FUNC, val=func, ival=0, dval=0.000000, refs=1)
Token (id=00001, line=00006, pos=0009, type=TT_IDENT, val=bar, ival=0, dval=0.000000, refs=1)
Token (id=00002, line=00006, pos=0011, type=TT_PARANT_CL, val={, ival=0, dval=0.000000, refs=1)
@@ -69,6 +74,13 @@ Token (id=00049, line=00018, pos=0016, type=TT_IDENT, val=say, ival=0, dval=0.00
Token (id=00050, line=00018, pos=0020, type=TT_IDENT, val=ind, ival=0, dval=0.000000, refs=1)
Token (id=00051, line=00018, pos=0024, type=TT_IDENT, val=foo, ival=0, dval=0.000000, refs=1)
Token (id=00052, line=00018, pos=0025, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
+Token (id=00053, line=00021, pos=0004, type=TT_IDENT, val=say, ival=0, dval=0.000000, refs=1)
+Token (id=00054, line=00021, pos=0008, type=TT_IDENT, val=foo, ival=0, dval=0.000000, refs=1)
+Token (id=00055, line=00021, pos=0009, type=TT_PARANT_AL, val=[, ival=0, dval=0.000000, refs=1)
+Token (id=00056, line=00021, pos=0010, type=TT_INTEGER, val=3, ival=3, dval=0.000000, refs=1)
+Token (id=00057, line=00021, pos=0010, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
+Token (id=00058, line=00021, pos=0011, type=TT_PARANT_AR, val=], ival=0, dval=0.000000, refs=1)
+Token (id=00059, line=00021, pos=0012, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
bar
0
1
@@ -79,3 +91,4 @@ BA
BB
5
4
+3.000000