aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-24 17:27:13 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-24 17:27:13 -0700
commitf7a9d1fc6b2ccd95f2f8df49f99073a6d2be9bb8 (patch)
treeb5f2a9c9f439925bfe8885e3007267ebbcb779ef /README.md
parent871a5b6706dffd71199d57d913ec6ad9ffa657f9 (diff)
Fixed example to be actually functional.
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 38a6a8a..46e62e8 100644
--- a/README.md
+++ b/README.md
@@ -28,11 +28,10 @@ for %num in %my_nums:
action [sing %n bottles of beer]:
for %i in %n to 1 by -1:
say ".."
- \%i bottle\("s" if i > 1 else "") of beer on the wall,
- \%i bottle\("s" if i > 1 else "") of beer!
+ \%i bottle\("s" if (%i > 1) else "") of beer on the wall,
+ \%i bottle\("s" if (%i > 1) else "") of beer!
Take one down, pass it around...
say "No bottles of beer on the wall. Go to the store, buy some more..."
- sing %n bottles of beer
sing 99 bottles of beer
```