From 3afa514e11dc16e3a166b39ad411465abd971d8a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 16 Jan 2012 22:32:56 -0700 Subject: Lists (arrays) are now properly inedxable. --- test.stage | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'test.stage') diff --git a/test.stage b/test.stage index 654a1e8..2ae34ab 100644 --- a/test.stage +++ b/test.stage @@ -17,16 +17,16 @@ situation <> { setup { - x = 10; - display( x ); - x /= 2; - display( x ); - x *= 4; - display( x ); - x -= 10; - display( x ); - x += 20; - display( x ); + x = [5, 4, 3]; + x = x + [9, 8, 7]; + display( x[4] ); + x[4] = 112; + display ('----'); + for each i in x do + { + display( i ); + } + exit(); } -- cgit v1.2.3