mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 21:17:48 +00:00
documentation proper bracketing
This commit is contained in:
@@ -15,7 +15,7 @@ Example:
|
||||
try:
|
||||
var a = readLine(f)
|
||||
var b = readLine(f)
|
||||
echo "sum: " & $(parseInt(a + parseInt(b)))
|
||||
echo "sum: " & $(parseInt(a) + parseInt(b))
|
||||
except OverflowError:
|
||||
echo "overflow!"
|
||||
except ValueError:
|
||||
|
||||
Reference in New Issue
Block a user