Standard way to do procedural diverts?
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
Hi All, is there a standard ink way to do procedural diverts? Something like:
```
VAR x = 0
VAR y = 0
VAR z = 0
-> loop
== loop
hi
*greet enthusiastically {increase(x)} -> {x}{y}{z} //add 1 to x
*greet formally {increase(y)} -> {x}{y}{z} //add 1 to y
*greet casually {increase(z)} -> {x}{y}{z} //add 1 to z
==100
hi!
*greet -> loop
==010
hello
*greet -> loop
== 001
howdy
*greet -> loop
//and so on with however many other knots
```
I can tell this isn't the way, since you can't use numbers as knot headers(?). So yeah, is there a standard way, or should I start hammering something together from lists and functions?
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.