On 01.06.12 04:20, Bjarne D Mathiesen wrote:
Joshua Root wrote:
On 2012-6-1 10:21 , Bjarne D Mathiesen wrote:
The try command is not standard Tcl, it's defined in
base/src/macports1.0/macports_util.tcl.
it's in the tcl we've got ... but a little different than the one
described on http://tmml.sourceforge.net/doc/tcl/try.html as there's no
/on error/
Be aware, that there are myn versions of "try" around and there
is a "try" command in Tcl 8.6.
http://www.tcl.tk/man/tcl8.6/TclCmd/try.htm
The usual technique to handle multiple implementations of a
command
in tcl is to use multiple namespaces and "namespace path" or
imports/exports
into namespaces.
-gustaf neumann
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev