diff options
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) |