diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-04-24 14:13:29 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-04-24 14:13:29 -0400 |
commit | dab3b1d51ea9f7f314a37aecb643dc4b7e52fe98 (patch) | |
tree | 6a0eaefcaa8ec0027aa23068595c93071d5e7af0 /tests/test8 | |
parent | b761569b3aabfb9cd2034d737d4223de534d3dcb (diff) |
tests to folder
Diffstat (limited to 'tests/test8')
-rw-r--r-- | tests/test8 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/test8 b/tests/test8 new file mode 100644 index 0000000..36e5b9c --- /dev/null +++ b/tests/test8 @@ -0,0 +1,23 @@ +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) + +print("Strings:") +str = "Hello!" +print(str.0) +print(str.2) +print(str.4) |