TCL incr filename

后端 未结 0 1797
傲寒
傲寒 2020-12-08 12:09

I do not want to set $outfile so many times, I would like to incr the filename. How do I do that in TCL?

set incr 1
set outfile [open "file$incr.txt"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题