It is OTCL. "$self" is similar to 'this' in C++. You can read the OTcl manual for more information. Gang On Sun, 14 Mar 1999, Dapeng Wu wrote: > Dear all, > > I'm wondering if anyone can explain the meaning of "$self" and > "instvar" in the following tcl script (in anim-ctrl.tcl): > > $self instvar NAM_PORT_ NAM_SOCK_ > > Thank you for your help. > > Dapeng > Gang Xu