Version 0 of package provide

Updated 2003-09-24 17:54:31

package provide package ?version?

This command is invoked to indicate that version version of package package is now present in the interpreter. It is typically invoked once as part of an ifneeded script, and again by the package itself when it is finally loaded. An error occurs if a different version of package has been provided by a previous package provide command. If the version argument is omitted, then the command returns the version number that is currently provided, or an empty string if no package provide command has been invoked for package in this interpreter.


See also:


Tcl syntax help - Category Command - Category Introspection