The load Command

   

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.


       
    Top
     



    Practical Programming in Tcl and Tk
    Practical Programming in Tcl and Tk (4th Edition)
    ISBN: 0130385603
    EAN: 2147483647
    Year: 1999
    Pages: 478

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net