[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proc mvar in file ~/tcl/rtp/session-rtp.tcl



---Kamil Sarac <[email protected]> wrote:
>
> Hello all,
> Can anyone tell me what exactly the  "proc mvar" below does?
> 
> proc mvar args {
>     upvar self _s
>     uplevel $_s  instvar $args
> }
> 

This is (very) old syntactic sugar for the instvar method that must
have never gotten cleaned up.  It probably should be removed and all
usages of mvar be converted to '$self instvar'.

-- Elan
 
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com