summaryrefslogtreecommitdiff
path: root/test.stage
diff options
context:
space:
mode:
Diffstat (limited to 'test.stage')
-rw-r--r--test.stage32
1 files changed, 10 insertions, 22 deletions
diff --git a/test.stage b/test.stage
index b963b2b..654a1e8 100644
--- a/test.stage
+++ b/test.stage
@@ -13,32 +13,20 @@ global
13 } 13 }
14} 14}
15 15
16function subfunction()
17{
18 if true then
19 {
20 return();
21 }
22 display("subfunction()");
23}
24
25function hello()
26{
27 if true == true then
28 {
29 subfunction();
30 display("Yeah!");
31 return();
32 }
33 display("hello()");
34}
35
36situation <<start>> 16situation <<start>>
37{ 17{
38 setup 18 setup
39 { 19 {
40 hello(); 20 x = 10;
41 display("situation"); 21 display( x );
22 x /= 2;
23 display( x );
24 x *= 4;
25 display( x );
26 x -= 10;
27 display( x );
28 x += 20;
29 display( x );
42 exit(); 30 exit();
43 } 31 }
44 32