From 7f64da46ffe3b2e2a2b46a3dd2effc4f4f7d45da Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 13 Apr 2018 08:43:47 -0400 Subject: arrays, implicit multiply --- test8 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test8 (limited to 'test8') diff --git a/test8 b/test8 new file mode 100644 index 0000000..8081b4c --- /dev/null +++ b/test8 @@ -0,0 +1,17 @@ +array(a, 10) + +i = 0 +while (i < 10) { + a.i = i * 2 + i = i + 1 +} + +i = 0 +while (i < 10) { + print(a.i) + i = i + 1 +} + +a.20 = 143 +print(a.20) +print(a.19) -- cgit v1.2.3