Overview
| Artifact ID: | 4260f31797e1ce6f6bbaaeae0876616761f96d1a |
|---|---|
| Ticket: | 1078760fffffffffffffffffffffffffffffffff
foreach.n: bad distance "32" |
| User & Date: | wildcard_25 on 2004-12-06 08:04:19 |
Changes
- icomment:
Logged In: YES user_id=596509 Another couple of possibilities that don't cause errors with the existing doc converters. change ".ta 32" to ".ta 3i" or ".ta 4i" or add blank lines before comments in patch to get (code is a lot clearer than in patch) .CS # Odd numbers first, for fun! set values {1 3 5 7 2 4 6 8} # Neat-looking header puts "Value\\tSquare\\tCube" # Now loop and print... \fBforeach\fR x $values { puts " $x\\t [expr {$x**2}]\\t [expr {$x**3}]" } .CE or use the style guide recommendation of blank lines before and after comments [6.2](missed that in the guide the first time as the first example with comments doesn't have blank lines [5.2]) .CS # Odd numbers first, for fun! set values {1 3 5 7 2 4 6 8} # Neat-looking header puts "Value\\tSquare\\tCube" # Now loop and print... \fBforeach\fR x $values { puts " $x\\t [expr {$x**2}]\\t [expr {$x**3}]" } .CE or if none of these are acceptable I'll submit a patch for man2* to calculate em spaces for tabs :) - login: "wildcard_25"
- mimetype: "text/plain"
- resolution changed to: "None"
- status changed to: "Open"
- username: "wildcard_25"