diff options
Diffstat (limited to 'doc/array.n')
| -rw-r--r-- | doc/array.n | 18 | 
1 files changed, 8 insertions, 10 deletions
| diff --git a/doc/array.n b/doc/array.n index f045102..e253a37 100644 --- a/doc/array.n +++ b/doc/array.n @@ -5,10 +5,8 @@  '\" See the file "license.terms" for information on usage and redistribution  '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.  '\"  -'\" RCS: @(#) $Id: array.n,v 1.21 2007/12/13 15:22:32 dgp Exp $ -'\"  -.so man.macros  .TH array n 8.3 Tcl "Tcl Built-In Commands" +.so man.macros  .BS  '\" Note:  do not modify the .SH NAME line immediately below!  .SH NAME @@ -138,14 +136,14 @@ The command always returns an empty string.  .SH EXAMPLES  .CS  \fBarray set\fR colorcount { -   red   1 -   green 5 -   blue  4 -   white 9 +    red   1 +    green 5 +    blue  4 +    white 9  }  foreach {color count} [\fBarray get\fR colorcount] { -   puts "Color: $color Count: $count" +    puts "Color: $color Count: $count"  }    \fB\(->\fR Color: blue Count: 4      Color: white Count: 9 @@ -153,7 +151,7 @@ foreach {color count} [\fBarray get\fR colorcount] {      Color: red Count: 1  foreach color [\fBarray names\fR colorcount] { -   puts "Color: $color Count: $colorcount($color)" +    puts "Color: $color Count: $colorcount($color)"  }    \fB\(->\fR Color: blue Count: 4      Color: white Count: 9 @@ -161,7 +159,7 @@ foreach color [\fBarray names\fR colorcount] {      Color: red Count: 1  foreach color [lsort [\fBarray names\fR colorcount]] { -   puts "Color: $color Count: $colorcount($color)" +    puts "Color: $color Count: $colorcount($color)"  }    \fB\(->\fR Color: blue Count: 4      Color: green Count: 5 | 
