www.gibmonks.com

  Previous section   Next section

Practical Programming in Tcl & Tk, Third Edition
By Brent B. Welch

Table of Contents
Chapter 49.  Tcl 7.5/Tk 4.1


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 609. 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 182.


      Previous section   Next section
    Top