Reply To: set site from within tcl

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf set site from within tcl Reply To: set site from within tcl

#57726
John Mercogliano
Participant

    Don’t know if anyone has seen this but if you have could someone tell my why this works.

    I implemented Matt’s solution using eval and it worked great from with in hcitcl or in a .tcl file when called from the top level but when I tried to call it from a function it would not work.  

    I ended up changing eval to uplevel #0 and it worked again. My question would be, why does hcisetenv need to be run from the root proc.

    Thanks,

    John Mercogliano
    Sentara Healthcare
    Hampton Roads, VA