summaryrefslogtreecommitdiffstats
path: root/doc/load.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/load.n')
-rw-r--r--doc/load.n16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/load.n b/doc/load.n
index 8bfd119..02aba32 100644
--- a/doc/load.n
+++ b/doc/load.n
@@ -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.11 2004/09/06 09:44:57 dkf Exp $
+'\" RCS: @(#) $Id: load.n,v 1.12 2004/10/27 12:53:22 dkf Exp $
'\"
.so man.macros
.TH load n 7.5 Tcl "Tcl Built-In Commands"
@@ -122,7 +122,7 @@ When loading a DLL in the current directory, Windows will ignore ``./'' as
a path specifier and use a search heuristic to find the DLL instead.
To avoid this, load the DLL with:
.CS
-load [file join [pwd] mylib.DLL]
+\fBload\fR [file join [pwd] mylib.DLL]
.CE
.SH BUGS
.PP
@@ -158,12 +158,12 @@ it can then be loaded into Tcl with the following:
.CS
# Load the extension
switch $tcl_platform(platform) {
- windows {
- \fBload\fR ./foo.dll
- }
- unix {
- \fBload\fR ./libfoo[info sharedlibextension]
- }
+ windows {
+ \fBload\fR ./foo.dll
+ }
+ unix {
+ \fBload\fR ./libfoo[info sharedlibextension]
+ }
}
# Now execute the command defined by the extension