Trond,
You can use
chain("c:\...\program1.tec")append
The "append" at the end preserves some of the system variables (e.g. block number). The control returns after the execution so you may need a "jump" after the "chain".
George Kovatchev
Sitius Automation
http://www.sitius.com