fork download
  1. echo "10まで数える: "
  2. for i in countup(1, 10):
  3. echo $i
  4. # --> 1 2 3 4 5 6 7 8 9 10 をそれぞれ別の行に出力する。
Compilation error #stdin compilation error #stdout 0s 2432KB
stdin
Standard input is empty
compilation info
prog.nim(3, 8) Warning: will be parsed as unary operator; inconsistent spacing is deprecated [Deprecated]
prog.nim(3, 8) Error: type mismatch: got (proc (x: varargs[expr]){.gcsafe, locks: 0.}, int)
but expected one of: 
system.$(x: int)
system.$(x: T)
system.$(x: char)
system.$(x: TEnum)
system.$(x: bool)
system.$(x: string)
system.$(x: float)
system.$(x: cstring)
system.$(x: uint64)
system.$(x: seq[T])
system.$(x: int64)
system.$(x: set[T])

stdout
Standard output is empty