summaryrefslogtreecommitdiff
path: root/test.stage
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-01-16 22:32:56 -0700
committerMike Buland <eichlan@xagasoft.com>2012-01-16 22:32:56 -0700
commit3afa514e11dc16e3a166b39ad411465abd971d8a (patch)
tree3fc9a9b62682c2905909e749f461034634d78903 /test.stage
parent92f50ee62101b67e768b75c9111af3d0258c6ddd (diff)
downloadstage-3afa514e11dc16e3a166b39ad411465abd971d8a.tar.gz
stage-3afa514e11dc16e3a166b39ad411465abd971d8a.tar.bz2
stage-3afa514e11dc16e3a166b39ad411465abd971d8a.tar.xz
stage-3afa514e11dc16e3a166b39ad411465abd971d8a.zip
Lists (arrays) are now properly inedxable.0.02
Diffstat (limited to '')
-rw-r--r--test.stage20
1 files changed, 10 insertions, 10 deletions
diff --git a/test.stage b/test.stage
index 654a1e8..2ae34ab 100644
--- a/test.stage
+++ b/test.stage
@@ -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