- This topic has 6 replies, 4 voices, and was last updated 14 years, 2 months ago by .
I am wanting to start breaking out some of my repetitive code to single procs. And then call these procs with parameters in other scripts. That way when I need to make a change, I can just change it in one place.
Example: TPS1.tcl would contain the code to connect to a db and insert a line into a table. TPS2.tcl and TPS3.tcl would call TPS1 during a route UPoC.
Can someone give me some guidance on how this is done, especially with the parameters.
- The forum ‘Cloverleaf’ is closed to new topics and replies.