First off, it really helps if you use the forum syntax to format your post, so that we can view your post in the clearest way possible.
Code:
#This is a comment
echo("What's your name? ")
var name: string = readLine(stdin)
echo("Hi, ", name, "! ")
Approximate Output:
D:\\workNim> nim c -r hello.nim
C:\\nim\\config\\nim.cfg(45, 2) Hint: added path: 'C:\\Users\\Bill\\.babel'
Hint: added path: 'C:\\Users\\Bill\\.nimble'
Hint: used config file 'C:\\Nim\\config\\nim.cfg' [Conf]
Hint: system [Processing]
Hint: hello [Processing]
Error: unhandled exception: invalid format string [ValueError]
Looking at your code, I don't see why it would throw a formatting exception. Is that all of your code? Are you importing anything?
Araq
The configuration file was certainly messed up.
The path to mingw64 was commented out at installation - I uncommented that and then had the current problem. I might try a new install (aleady done this several times).
Bill