blob: 8759931873b8cbc3db6cb6b2ce0530ae019c9c59 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
## 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)
|