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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -