We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This code:
proc test = var idx {.global.} = 0 echo idx idx += 1 test() test()
gives different results depending on how to execute it:
# nim e test.nim 0 0
# nim r test.nim 0 1
Tested on 1.6.2 and latest git revision.