Why does this code with TCL Upvar command generate an error?

So I thought I understood how the TCL upvar command worked, but for some reason I cannot seem to trace why this code generates an error – #!/usr/bin/env tclsh proc run_check {} { set src dut.acore.B2.Vin set conlist1 [list dut.acore.B2.Vin dut.acore.N1__Bidir_2__ddiscrete_5.Aout dut.acore.DCORE.CLK] puts $conlist1 set conlist2 [_lremove $conlist1 $src true] puts $conlist2 } proc _lremove… Read More Why does this code with TCL Upvar command generate an error?