aboutsummaryrefslogtreecommitdiff
path: root/examples/how_do_i.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-19 17:44:46 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-19 17:44:46 -0800
commitf30413853063483147d941ffccc4b663b71bc943 (patch)
tree31747b3d020a5d252e70910fdd741ecf27a58ef5 /examples/how_do_i.nom
parenta89d69e843ba83df928051005d02a932a9981f46 (diff)
Deduplicated goto label syntax (now just use (--- (label) ---))
Diffstat (limited to 'examples/how_do_i.nom')
-rw-r--r--examples/how_do_i.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/how_do_i.nom b/examples/how_do_i.nom
index 39e9bdb..bd868be 100644
--- a/examples/how_do_i.nom
+++ b/examples/how_do_i.nom
@@ -65,7 +65,7 @@ say "\
Similarly, you can put a long interpolated indented value like: \(..)
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9
.. between a backslash and two periods."
-
+
say "Single-line text can contain escape sequences like \", \\, \000, and \n"
# How do I define a list?
@@ -172,7 +172,7 @@ repeat:
# How do I do a 'goto'?
do:
%x = 1
- === (my loop) ===
+ --- (my loop) ---
say "GOTO loop #\%x"
%x += 1
if (%x <= 3):