Add formatting css and reorganize

This commit is contained in:
flaviut 2014-05-31 21:16:18 -04:00
commit 5747e5fa90
21 changed files with 308 additions and 199 deletions

View file

@ -4,7 +4,7 @@ Nimrod many different control flow constructs, including the standard `if`s, `el
When inside a loop or block, it is possible to use `continue` or `break` any point, where `continue` skips to the next iteration and `break` ends the loop. The break statement can also receive the name of the block to break out of, so it is possible to break out of nested loops.
~~~ Nimrod
``` nimrod
import strutils
let answer = 4 # Chosen by a fair dice roll,
@ -25,4 +25,4 @@ block busyloops:
while true:
while true:
break busyloops
~~~
```