diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-01-16 22:32:56 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-01-16 22:32:56 -0700 |
commit | 3afa514e11dc16e3a166b39ad411465abd971d8a (patch) | |
tree | 3fc9a9b62682c2905909e749f461034634d78903 /test.stage | |
parent | 92f50ee62101b67e768b75c9111af3d0258c6ddd (diff) | |
download | stage-17aa6057c23c8cf96136c4e2755198644d743701.tar.gz stage-17aa6057c23c8cf96136c4e2755198644d743701.tar.bz2 stage-17aa6057c23c8cf96136c4e2755198644d743701.tar.xz stage-17aa6057c23c8cf96136c4e2755198644d743701.zip |
Lists (arrays) are now properly inedxable.0.02
Diffstat (limited to 'test.stage')
-rw-r--r-- | test.stage | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -17,16 +17,16 @@ situation <<start>> | |||
17 | { | 17 | { |
18 | setup | 18 | setup |
19 | { | 19 | { |
20 | x = 10; | 20 | x = [5, 4, 3]; |
21 | display( x ); | 21 | x = x + [9, 8, 7]; |
22 | x /= 2; | 22 | display( x[4] ); |
23 | display( x ); | 23 | x[4] = 112; |
24 | x *= 4; | 24 | display ('----'); |
25 | display( x ); | 25 | for each i in x do |
26 | x -= 10; | 26 | { |
27 | display( x ); | 27 | display( i ); |
28 | x += 20; | 28 | } |
29 | display( x ); | 29 | |
30 | exit(); | 30 | exit(); |
31 | } | 31 | } |
32 | 32 | ||