summaryrefslogtreecommitdiff
path: root/test.stage
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-01-02 00:26:29 -0700
committerMike Buland <eichlan@xagasoft.com>2012-01-02 00:26:29 -0700
commit0433eb31936fc72486e9a81732d5bcd38cf5808a (patch)
tree01f2a53e300af872350b700dbe8d4a0fa7fac38d /test.stage
parent55e6f570f5760e970c6523458914b5e4c63a6ce4 (diff)
downloadstage-0433eb31936fc72486e9a81732d5bcd38cf5808a.tar.gz
stage-0433eb31936fc72486e9a81732d5bcd38cf5808a.tar.bz2
stage-0433eb31936fc72486e9a81732d5bcd38cf5808a.tar.xz
stage-0433eb31936fc72486e9a81732d5bcd38cf5808a.zip
Variables upconvert on add now.
It's not perfect, but it's decent for now, and early testing.
Diffstat (limited to '')
-rw-r--r--test.stage8
1 files changed, 7 insertions, 1 deletions
diff --git a/test.stage b/test.stage
index 3fe467c..66a9b70 100644
--- a/test.stage
+++ b/test.stage
@@ -17,7 +17,13 @@ situation <<start>>
17{ 17{
18 setup 18 setup
19 { 19 {
20 display( random( 1, 3 ) ); 20 stuff = {};
21 stuff['bob'] = {'joe': 'hi', 'sub': {1: 5, 2: 8} };
22 stuff['bob']['sub'][55] = "aoeu";
23 stuff['bob'] = 'hia';
24 stuff['joe'] = stuff['bob'];
25 stuff['joe'] += 'aoeu';
26 display( stuff['bob']['sub'][55] );
21 exit(); 27 exit();
22 } 28 }
23 29