Version 1 of namespace eval

Updated 2012-01-06 13:35:40 by dkf
namespace eval namespace arg ?arg ...?

Activates a namespace called namespace and evaluates some code in that context. If the namespace does not already exist, it is created. If more than one arg argument is specified, the arguments are concatenated together with a space between each one in the same fashion as the eval command, and the result is evaluated.

If namespace has leading namespace qualifiers and any leading namespaces do not exist, they are automatically created.


See also