summaryrefslogtreecommitdiff
path: root/test.fy
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-12-15 20:57:29 +0000
committerPaul Buetow <paul@buetow.org>2008-12-15 20:57:29 +0000
commit44c97ead68a274e462460eef33d67e7442c2fa47 (patch)
tree2d7347fa25eb8d0c61a090f84983c64d055ea11f /test.fy
parent117201ad10df2859fb3510e8437d776f3a691f69 (diff)
say foo[1] works
Diffstat (limited to 'test.fy')
-rw-r--r--test.fy3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.fy b/test.fy
index cf34f24..ca3b930 100644
--- a/test.fy
+++ b/test.fy
@@ -16,3 +16,6 @@ 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];