Minor fixes

This commit is contained in:
def 2014-07-16 22:36:17 +02:00
commit 0ec510af11
7 changed files with 21 additions and 20 deletions

View file

@ -4,7 +4,7 @@ title: If, Else, While
# If, Else, While
Nimrod many different control flow constructs, including the standard `if`s, `else`s, and `while`s. However, Nimrod does not use an `else if` construct like many languages, it uses a more condensed `elif`.
Nimrod has many different control flow constructs, including the standard `if`s, `else`s, and `while`s. However, Nimrod does not use an `else if` construct like many languages, it uses a more condensed `elif`.
When inside a loop, `continue` can be used to skip the rest of the loop body and to begin the next iteration; `break` can be used to immediately leave the loop body.
@ -31,4 +31,4 @@ block busyloops:
while true:
while true:
break busyloops
```
```