declaring variants/subports in loops and loop variables

Brandon Allbery allbery.b at gmail.com
Wed Dec 7 17:17:28 CET 2016


On Wed, Dec 7, 2016 at 5:14 PM, René J.V. Bertin <rjvbertin at gmail.com>
wrote:

> That seems to do the trick all right. I was a bit hoping for a `foreach`
> option to make limit the scope of the loop variable and all variables
> declared inside the loop


Tcl doesn't grok closures, or scoping in general (although it does handle
some limited cases). It's just string manipulation. :/

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20161207/c72548d2/attachment-0001.html>


More information about the macports-dev mailing list