diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2011-07-17 15:00:43 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2011-07-17 15:00:43 (GMT) |
commit | 89bf49bf2d9aab49af9961f28a34de4a9b045885 (patch) | |
tree | c3920dbd3e235492a7b453af9a7f5cf5f080c734 /doc/lassign.n | |
parent | 740e87bc587f376b103ac0e7c9327b136f6d95e5 (diff) | |
download | tcl-89bf49bf2d9aab49af9961f28a34de4a9b045885.zip tcl-89bf49bf2d9aab49af9961f28a34de4a9b045885.tar.gz tcl-89bf49bf2d9aab49af9961f28a34de4a9b045885.tar.bz2 |
Documentation improvements (small; some revision to parsing script) to improve
the quality of HTML doc builds.
Diffstat (limited to 'doc/lassign.n')
-rw-r--r-- | doc/lassign.n | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lassign.n b/doc/lassign.n index f09acfc..6f5042b 100644 --- a/doc/lassign.n +++ b/doc/lassign.n @@ -28,17 +28,17 @@ An illustration of how multiple assignment works, and what happens when there are either too few or too many elements. .PP .CS -lassign {a b c} x y z ;# Empty return +\fBlassign\fR {a b c} x y z ;# Empty return puts $x ;# Prints "a" puts $y ;# Prints "b" puts $z ;# Prints "c" -lassign {d e} x y z ;# Empty return +\fBlassign\fR {d e} x y z ;# Empty return puts $x ;# Prints "d" puts $y ;# Prints "e" puts $z ;# Prints "" -lassign {f g h i} x y ;# Returns "h i" +\fBlassign\fR {f g h i} x y ;# Returns "h i" puts $x ;# Prints "f" puts $y ;# Prints "g" .CE @@ -49,10 +49,10 @@ the analogue of the command in many shell languages like this: .PP .CS -set ::argv [lassign $::argv argumentToReadOff] +set ::argv [\fBlassign\fR $::argv argumentToReadOff] .CE .SH "SEE ALSO" -lindex(n), list(n), lset(n), set(n) +lindex(n), list(n), lrange(n), lset(n), set(n) .SH KEYWORDS assign, element, list, multiple, set, variable '\"Local Variables: |