diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2023-04-26 15:04:20 +0100 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2023-04-26 15:04:20 +0100 |
commit | e98ebbad387def55d8347adb5bf45034d542cce0 (patch) | |
tree | e33d6b881c91a6277374545f8c69ac8f9f59aa60 | |
parent | 39f767aef901694eef14b1004b13756410f19f66 (diff) | |
download | stred-go-e98ebbad387def55d8347adb5bf45034d542cce0.tar |
Document branching
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -274,3 +274,5 @@ With an understanding of subexes, we can look at the stred commands | `Z` | Append the contents of the value register to the Z register | | `k` | Swap the value register with the path register | | `K` | Append the contents of the value register to the path register | +| `:` | Create a label. The character after `:` is used to label this point in the program, e.g. `:a` creates a label called `a` | +| `b` | Branch to a label. The character after `b` is the label to branch to, e.g. `ba` branches to label `a` | |