[PD-dev] [ pure-data-Feature Requests-3436774 ] [tclpd] make $self namespace exist before calling constructo

SourceForge.net noreply at sourceforge.net
Sat Nov 12 06:48:15 CET 2011


Feature Requests item #3436774, was opened at 2011-11-11 21:48
Message generated for change (Tracker Item Submitted) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478073&aid=3436774&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: mescalinum (mescalinum)
Summary: [tclpd] make $self namespace exist before calling constructo

Initial Comment:
In order to really easily do:
variable ${self}::myvar

tclpd should do this before calling an objects constructor:

    if {![namespace exists $self]} {
        namespace eval $self {}
    }

Or maybe there is the equivalent to the setup() function, where it can just call "namespace eval $self {}"

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478073&aid=3436774&group_id=55736



More information about the Pd-dev mailing list