summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'nim.html.markdown')
-rw-r--r--nim.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/nim.html.markdown b/nim.html.markdown
index 81662630..e3c749dc 100644
--- a/nim.html.markdown
+++ b/nim.html.markdown
@@ -188,7 +188,7 @@ echo "I'm thinking of a number between 41 and 43. Guess which!"
let number: int = 42
var
raw_guess: string
- guess: int
+ guess: int # Variables in Nim are always initialized with a zero value
while guess != number:
raw_guess = readLine(stdin)
if raw_guess == "": continue # Skip this iteration