42 lines
524 B
Plaintext
42 lines
524 B
Plaintext
INCLUDE extra.hank
|
|
-> start.one
|
|
|
|
== start
|
|
|
|
/* This example demonstrates that the janky code regulating subsection diverts all works.
|
|
If this test ever breaks, God help you.*/
|
|
Fourth output.
|
|
|
|
-> other_section
|
|
|
|
= one
|
|
|
|
-(gather) {if (gather == 1) 'First output.'} {start} {start.one} {start.two} {gather}
|
|
|
|
```
|
|
if (gather == 1)
|
|
, -> two
|
|
else
|
|
, -> three
|
|
```
|
|
|
|
= two
|
|
|
|
Second output. {start} {start.one} {two} {one.gather}
|
|
-> one.gather
|
|
|
|
-> three
|
|
|
|
= end
|
|
Last output.
|
|
|
|
== three
|
|
|
|
-> three
|
|
|
|
= three
|
|
|
|
Third output.
|
|
|
|
-> start
|