Files
hank/examples/labels/main.hank

19 lines
302 B
Plaintext

-> start
== start
Loop #: {start}
A: {choice_a}
B: {choice_b}
C: {choice_c}
* (choice_a) Choice A
* (choice_b) Choice B
* (choice_c) {choice_b && choice_a}? Choice C
-> end
- (gather) -> start
== end
{start.choice_a} // Make sure labeled choices and gathers are scoped
{start.gather}
It's over!