diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-23 19:41:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-23 19:41:01 (GMT) |
commit | 6f8556fcff6380f4d5228b2295d65cd52fdba1a4 (patch) | |
tree | 1d41ce1b34df0abed98b7eeb2dde8669844764be /doc | |
parent | ea0a09737830604ec6a91396520427b24edced7e (diff) | |
download | tcl-6f8556fcff6380f4d5228b2295d65cd52fdba1a4.zip tcl-6f8556fcff6380f4d5228b2295d65cd52fdba1a4.tar.gz tcl-6f8556fcff6380f4d5228b2295d65cd52fdba1a4.tar.bz2 |
Update "info loaded" documentation. Add "info loaded" change to release notes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/load.n | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -84,13 +84,11 @@ If \fIfileName\fR is an empty string, then \fIprefix\fR must be specified. .PP If \fIprefix\fR is omitted or specified as an empty string, -Tcl tries to guess the prefix. This may be done differently on -different platforms. The default guess, which is used on most -UNIX platforms, is to take the last element of +Tcl tries to guess the prefix by taking the last element of \fIfileName\fR, strip off the first three characters if they -are \fBlib\fR, then strip off the next three characters if they -are \fBtcl\fR, and use any following alphabetic and -underline characters, converted to titlecase as the prefix. +are \fBlib\fR, then strip off the next three or four characters if +they are \fBtcl\fR or \fBtcl8\fR, and use any following wordchars +but not digits, converted to titlecase as the prefix. For example, the command \fBload libxyz4.2.so\fR uses the prefix \fBXyz\fR and the command \fBload bin/last.so {}\fR uses the prefix \fBLast\fR. |