2
我試圖做一些很基本的字符串格式化和我立刻卡住格式化。基本字符串NIM
這段代碼有什麼問題?
import strutils
import parseopt2
for kind, key, val in getopt():
echo "$1 $2 $3" % [kind, key, val]
我得到Error: type mismatch: got (TaintedString) but expected 'CmdLineKind = enum'
,但我不明白,我應如何解決它。