[ Team LiB ] Previous Section Next Section

The load Command

The load command supports shared libraries (i.e., DLLs) that implement new Tcl commands in compiled code. With this feature, the preferred way to package extensions is as a shared library. This eliminates the need to compile custom versions of wish if you use extensions. The details about creating shared libraries are described on page 697. For example, you could load the Tix library with:

load libtix.so Tix

The info command added two related operations, sharedlibextention and nameofexecutable, which are described on page 192.

    [ Team LiB ] Previous Section Next Section