From fcd30be44982cfe79ed777b19b2543fe3e72e239 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 3 Jan 2012 00:37:48 -0700 Subject: +=, -=, *=, /= works with indexed dicts/lists --- test.stage | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test.stage') diff --git a/test.stage b/test.stage index 4ffec79..42529af 100644 --- a/test.stage +++ b/test.stage @@ -17,11 +17,9 @@ situation <> { setup { - for each i in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] do - { - display( random(0.25, 0.5)*10 ); - } - display( 0.25 * 10.0 ); + global.stuff = {'count': 1}; + global.stuff['count'] += 5; + display( global.stuff['count'] ); exit(); } -- cgit v1.2.3