template to(a, b): untyped = a..b
for i in 0.to(5):
echo i
RunYou're better off using `..` though because every Nim programmer knows it and eventually it will be familiar to you too.
template to(a, b): untyped = a..b
for i in 0.to(5):
echo i
RunYou're better off using `..` though because every Nim programmer knows it and eventually it will be familiar to you too.