Version 2 of Tcl Package User Guide

Updated 2012-12-14 04:25:15 by pooryorick

Summary

How to use and manage Tcl packages.

See Also

Tcl User Guide

Description

In the most elementary case, using a package is a matter of directly employing the load or source command to make the code in some file available to Tcl. This can be seen in the following examples:

extension example

Typically, however, packages are distributed such that they can be loaded via the package command.

How to unload a package:

Package tips and tricks: