diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-12-31 00:13:13 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-31 00:13:13 -0700 |
| commit | 55e6f570f5760e970c6523458914b5e4c63a6ce4 (patch) | |
| tree | ae996d612c6c55b914a960139a618922bf7e4971 /test.stage | |
| parent | 3357b0a0ecc4d36ccd3c2668e9d55aaaefedf4df (diff) | |
| download | stage-55e6f570f5760e970c6523458914b5e4c63a6ce4.tar.gz stage-55e6f570f5760e970c6523458914b5e4c63a6ce4.tar.bz2 stage-55e6f570f5760e970c6523458914b5e4c63a6ce4.tar.xz stage-55e6f570f5760e970c6523458914b5e4c63a6ce4.zip | |
Random function added, other fixes.
Diffstat (limited to 'test.stage')
| -rw-r--r-- | test.stage | 19 |
1 files changed, 1 insertions, 18 deletions
| @@ -17,24 +17,7 @@ situation <<start>> | |||
| 17 | { | 17 | { |
| 18 | setup | 18 | setup |
| 19 | { | 19 | { |
| 20 | dict = {1: "Hello"}; | 20 | display( random( 1, 3 ) ); |
| 21 | dict['bob'] = 'yup'; | ||
| 22 | display( dict ); | ||
| 23 | dict -= 1; | ||
| 24 | display( dict ); | ||
| 25 | |||
| 26 | lst = [55]; | ||
| 27 | lst += 112; | ||
| 28 | display( lst ); | ||
| 29 | lst -= 55; | ||
| 30 | display( lst ); | ||
| 31 | lst += "hi"; | ||
| 32 | lst += "Things"; | ||
| 33 | display("---For each test---"); | ||
| 34 | for each x : y in dict do | ||
| 35 | { | ||
| 36 | display( x ); | ||
| 37 | } | ||
| 38 | exit(); | 21 | exit(); |
| 39 | } | 22 | } |
| 40 | 23 | ||
