Reply To: set site from within tcl Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › set site from within tcl › Reply To: set site from within tcl November 16, 2005 at 12:25 am #57727 Rob AbbottKeymaster The code sets up the env array, which exists in the root scope. Inside a proc you need to declare it global. Did you global env in your proc? Rob Abbott Cloverleaf Emeritus