Also you should probably use for loops in your specific example, just in case
you didn't know what they were
import os
proc waitAndPrint(what: string, iterations: int, millisecs: int) =
for i in 1..iterations:
stdout.write what
stdout.flushFile()
sleep(millisecs)
Run
- echo without new line or async write felipetorresini
- Re: echo without new line or async write dom96
- Re: echo without new line or async write felipetorresini
- Re: echo without new line or async write Hlaaftana
