aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-26 16:28:06 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-26 16:28:06 -0800
commit5027bd4f0f2c6dcebf667a6924c50b0ca3df235f (patch)
treeda3ed710dcbfc065a24ac3ab0c8b4917a22b6991 /examples
parent8e5f1b9e1e912f781738a564843e024b0e0b2e96 (diff)
Upgraded/autoformatted.
Diffstat (limited to 'examples')
-rw-r--r--examples/how_do_i.nom5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/how_do_i.nom b/examples/how_do_i.nom
index bd868be..a8725e8 100644
--- a/examples/how_do_i.nom
+++ b/examples/how_do_i.nom
@@ -1,4 +1,4 @@
-#!/usr/bin/env nomsu -V4.11.12.8
+#!/usr/bin/env nomsu -V4.12.12.8
# How do I...
# Write a comment? Put a # and go till the end of the line
# How do I write a multi-line comment?
@@ -166,8 +166,7 @@ repeat until (%x > 3):
repeat:
say "repeat loop #\%x"
%x += 1
- if (%x > 3):
- stop repeating
+ if (%x > 3): stop
# How do I do a 'goto'?
do: