diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-02-24 22:58:28 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-02-24 22:58:28 (GMT) |
commit | 0575111723f30910c2e2362a7dba2853c95c6969 (patch) | |
tree | 28f7d836fd11991bcc636e6b4b31626abc424381 /doc/load.n | |
parent | 6842d4e8779d8ccdfd67170215cef172e9474e9e (diff) | |
download | tcl-0575111723f30910c2e2362a7dba2853c95c6969.zip tcl-0575111723f30910c2e2362a7dba2853c95c6969.tar.gz tcl-0575111723f30910c2e2362a7dba2853c95c6969.tar.bz2 |
TIP#100 implementation largely based on work by Georgios Petasis.
Diffstat (limited to 'doc/load.n')
-rw-r--r-- | doc/load.n | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: load.n,v 1.7 2002/07/01 18:24:39 jenglish Exp $ +'\" RCS: @(#) $Id: load.n,v 1.8 2004/02/24 22:58:45 dkf Exp $ '\" .so man.macros .TH load n 7.5 Tcl "Tcl Built-In Commands" @@ -73,7 +73,12 @@ in an application. If a given \fIfileName\fR is loaded into multiple interpreters, then the first \fBload\fR will load the code and call the initialization procedure; subsequent \fBload\fRs will call the initialization procedure without loading the code again. -It is not possible to unload or reload a package. +.VS 8.5 +For Tcl versions lower than 8.5, it is not possible to unload or reload a +package. From version 8.5 however, the \fBunload\fR command allows the unloading +of libraries loaded with \fBload\fR, for libraries that are aware of the +Tcl's unloading mechanism. +.VE 8.5 .PP The \fBload\fR command also supports packages that are statically linked with the application, if those packages have been registered |