fork download
  1. proc myWriteln(f: File, a: varargs[string]) =
  2. for s in items(a):
  3. write(f, s)
  4. write(f, "\n")
  5.  
  6. myWriteln(stdout, "abc", "def", "xyz")
  7. # はコンパイラにより変換されて、
  8. myWriteln(stdout, ["abc", "def", "xyz"])
  9.  
Success #stdin #stdout 0s 4280KB
stdin
Standard input is empty
stdout
abcdefxyz
abcdefxyz