diff options
Diffstat (limited to 'test.stage')
-rw-r--r-- | test.stage | 32 |
1 files changed, 10 insertions, 22 deletions
@@ -13,32 +13,20 @@ global | |||
13 | } | 13 | } |
14 | } | 14 | } |
15 | 15 | ||
16 | function subfunction() | ||
17 | { | ||
18 | if true then | ||
19 | { | ||
20 | return(); | ||
21 | } | ||
22 | display("subfunction()"); | ||
23 | } | ||
24 | |||
25 | function hello() | ||
26 | { | ||
27 | if true == true then | ||
28 | { | ||
29 | subfunction(); | ||
30 | display("Yeah!"); | ||
31 | return(); | ||
32 | } | ||
33 | display("hello()"); | ||
34 | } | ||
35 | |||
36 | situation <<start>> | 16 | situation <<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 | ||