Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language

Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

TCL(Tool Command Language) Scripting

How to get work on multiple string substitutions


Could some body suggest me how to achieve this.

for {set x 3} { $x < 48} {incr x} {virtual signal {slot<<
$x>>_mlc_rspaddr & "000000"} slot<<$x>>_mlc_rspaddr_full}

Expected O/P:
slot3_mlc_rspaddr - slot3_mlc_rspaddr_full
slot47_mlc_rspaddr - slot3_mlc_rspaddr_full

Basically creating a new string slot<<with the for loop variable



You want to use something like "slot${x}_mlc_rspaddr"
Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc