tcl - How to issue commands from inside a loop? -


this basic question.

think of tcl command line generator. purpose generate strings tool’s command line interpreter. example, tcl commands:

set alpha “run” $alpha $alpha $alpha 

cause “run” command sent tool 3 times – makes sense. but:

set alpha “run” {set 0} {$i<3} {incr i} $alpha 

does not. question is: how send commands tool inside loop?

your problem "funny quotes" in line

set alpha “run” 

to tcl, quotes aren't syntactic markers, text. try

set alpha "run" 

or, better,

set alpha run 

Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -