Version 4 of Tcl Package User Guide

Updated 2012-12-14 04:58:45 by pooryorick

Summary

How to use and manage Tcl packages.

See Also

User Guide

Package Developer 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.

Just getting a package found already

How to unload a package:

Package tips and tricks: