summaryrefslogtreecommitdiff
path: root/test.stage
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-01-03 00:37:48 -0700
committerMike Buland <eichlan@xagasoft.com>2012-01-03 00:37:48 -0700
commitfcd30be44982cfe79ed777b19b2543fe3e72e239 (patch)
tree1b8d5f5aebbf828d1da4a2c68c3ed22a40a7cbb7 /test.stage
parent8b9a15a755ebc6681ff6be808615e375cb567080 (diff)
downloadstage-fcd30be44982cfe79ed777b19b2543fe3e72e239.tar.gz
stage-fcd30be44982cfe79ed777b19b2543fe3e72e239.tar.bz2
stage-fcd30be44982cfe79ed777b19b2543fe3e72e239.tar.xz
stage-fcd30be44982cfe79ed777b19b2543fe3e72e239.zip
+=, -=, *=, /= works with indexed dicts/lists
Diffstat (limited to 'test.stage')
-rw-r--r--test.stage8
1 files changed, 3 insertions, 5 deletions
diff --git a/test.stage b/test.stage
index 4ffec79..42529af 100644
--- a/test.stage
+++ b/test.stage
@@ -17,11 +17,9 @@ situation <<start>>
17{ 17{
18 setup 18 setup
19 { 19 {
20 for each i in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] do 20 global.stuff = {'count': 1};
21 { 21 global.stuff['count'] += 5;
22 display( random(0.25, 0.5)*10 ); 22 display( global.stuff['count'] );
23 }
24 display( 0.25 * 10.0 );
25 exit(); 23 exit();
26 } 24 }
27 25