diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 14:13:21 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 14:13:21 -0700 |
commit | 533310f646f1b1a00250a361f627967c420f1eef (patch) | |
tree | 0ade5ffb70259af7f4e2be56497e4e4707bc079a /test.stage | |
parent | 1bc10d1408eb29b0675a030e029155dd046b1dd8 (diff) | |
download | stage-533310f646f1b1a00250a361f627967c420f1eef.tar.gz stage-533310f646f1b1a00250a361f627967c420f1eef.tar.bz2 stage-533310f646f1b1a00250a361f627967c420f1eef.tar.xz stage-533310f646f1b1a00250a361f627967c420f1eef.zip |
Situations & their modes are built.
Diffstat (limited to 'test.stage')
-rw-r--r-- | test.stage | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -9,12 +9,19 @@ global | |||
9 | { | 9 | { |
10 | command: "eat" object | 10 | command: "eat" object |
11 | { | 11 | { |
12 | pow(5, x*2); | 12 | display(object); |
13 | } | 13 | } |
14 | } | 14 | } |
15 | 15 | ||
16 | function hello( a, b, c ) | 16 | situation <<start>> |
17 | { | 17 | { |
18 | a[x][y]; | 18 | setup |
19 | { | ||
20 | display("Hello"); | ||
21 | } | ||
22 | |||
23 | enter | ||
24 | { | ||
25 | } | ||
19 | } | 26 | } |
20 | 27 | ||