Name

load

load fileName [packageName] [interp]

Loads a binary file containing new Tcl commands. filename is the filename to load (i.e., shared library or DLL), and packageName is the name of a package, used to compute the name of init procedure. interp is the pathname of the interpreter into which to load the file (default is invoking interpreter).

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.