diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-01-03 00:37:48 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-01-03 00:37:48 -0700 |
commit | fcd30be44982cfe79ed777b19b2543fe3e72e239 (patch) | |
tree | 1b8d5f5aebbf828d1da4a2c68c3ed22a40a7cbb7 /test.stage | |
parent | 8b9a15a755ebc6681ff6be808615e375cb567080 (diff) | |
download | stage-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.stage | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 | ||