Files
Nim/doc/docgen_sample.nim
2014-01-06 14:55:03 +01:00

13 lines
205 B
Nim

## This module is a sample.
import strutils
proc helloWorld*(times: int) =
## Takes an integer and outputs
## as many "hello world!"s
for i in 0 .. times-1:
echo "hello world!"
helloWorld(5)