diff options
author | dkf <dkf@noemail.net> | 2010-01-20 13:42:16 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2010-01-20 13:42:16 (GMT) |
commit | 445c99b42a8eb8da1fde0b46083bb209a15c5944 (patch) | |
tree | 6b453022eb94d1d13ccd73cb7e033e4859af45fd /doc/load.n | |
parent | cee911fb3f27cd817cec7a3d1cfd48c5d686e4bb (diff) | |
download | tcl-445c99b42a8eb8da1fde0b46083bb209a15c5944.zip tcl-445c99b42a8eb8da1fde0b46083bb209a15c5944.tar.gz tcl-445c99b42a8eb8da1fde0b46083bb209a15c5944.tar.bz2 |
Use a consistent indentation of 4 for code examples.
FossilOrigin-Name: e2e171f33458b72fd721395cd0853795054d8d10
Diffstat (limited to 'doc/load.n')
-rw-r--r-- | doc/load.n | 16 |
1 files changed, 9 insertions, 7 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.25 2010/01/13 12:08:30 dkf Exp $ +'\" RCS: @(#) $Id: load.n,v 1.26 2010/01/20 13:42:17 dkf Exp $ '\" .so man.macros .TH load n 7.5 Tcl "Tcl Built-In Commands" @@ -121,10 +121,12 @@ When loading a DLL in the current directory, Windows will ignore .QW ./ as a path specifier and use a search heuristic to find the DLL instead. To avoid this, load the DLL with: +.RS .PP .CS \fBload\fR [file join [pwd] mylib.DLL] .CE +.RE .SH BUGS .PP If the same file is \fBload\fRed by different \fIfileName\fRs, it will @@ -160,12 +162,12 @@ it can then be loaded into Tcl with the following: .CS # Load the extension switch $tcl_platform(platform) { - windows { - \fBload\fR [file join [pwd] foo.dll] - } - unix { - \fBload\fR [file join [pwd] libfoo[info sharedlibextension]] - } + windows { + \fBload\fR [file join [pwd] foo.dll] + } + unix { + \fBload\fR [file join [pwd] libfoo[info sharedlibextension]] + } } # Now execute the command defined by the extension |