tcl question: defining dynamically named variables in a namespace

David Bariod davidriod at googlemail.com
Fri Oct 7 05:25:11 PDT 2016


It's been a long time I haven't done Tcl development, but from memory:

namespace eval <namespace name> {
     --> your code here <---
}

should do what you're trying to do.

--
David

On Fri, Oct 7, 2016 at 2:12 PM, René J.V. Bertin <rjvbertin at gmail.com>
wrote:

> sorry for the noise, it seems I can simply use
>
> namespace upvar kf5 ${name}_dep dep
>
> etc.
>
> Now, would it be possible and worth the trouble to put
> kf5.framework_dependency procedure itself into the dedicated namespace?
>
> R.
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20161007/3650349a/attachment.html>


More information about the macports-dev mailing list