summaryrefslogtreecommitdiff
path: root/test.stage
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-29 17:03:20 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-29 17:03:20 -0700
commitf404d991aa53ed81855e51b597bfe1d5c2288b42 (patch)
treed2ce081cc722eccc089591c63ea0a345b4b4701c /test.stage
parent1bd7f709f5217b248fcb3a4c7be2eeca84fec795 (diff)
downloadstage-f404d991aa53ed81855e51b597bfe1d5c2288b42.tar.gz
stage-f404d991aa53ed81855e51b597bfe1d5c2288b42.tar.bz2
stage-f404d991aa53ed81855e51b597bfe1d5c2288b42.tar.xz
stage-f404d991aa53ed81855e51b597bfe1d5c2288b42.zip
Most operators work, as well as if/then/else.
Loops should be very easy, but we don't have lists working yet, next is scope selection.
Diffstat (limited to 'test.stage')
-rw-r--r--test.stage13
1 files changed, 12 insertions, 1 deletions
diff --git a/test.stage b/test.stage
index 2b6e567..75bff27 100644
--- a/test.stage
+++ b/test.stage
@@ -18,8 +18,19 @@ situation <<start>>
18 setup 18 setup
19 { 19 {
20 name = "Bob"; 20 name = "Bob";
21 name += " The Man";
21 display("This is the setup phase for start, " + name); 22 display("This is the setup phase for start, " + name);
22 display("???"); 23 display( 5 == 6 );
24 display( 5 == 5 );
25
26 if name == "Bob The Man" then
27 {
28 display("You are bob");
29 }
30 else
31 {
32 display("You are not bob");
33 }
23 } 34 }
24 35
25 enter 36 enter