Anonymous user
Word wrap: Difference between revisions
m
→{{header|Tcl}}: Make assumption explicit
(→Tcl: Added implementation) |
m (→{{header|Tcl}}: Make assumption explicit) |
||
Line 78:
=={{header|Tcl}}==
Using a simple greedy algorithm to wrap the same text as used in the [[#Go|Go]] solution. Note that it assumes that the line length is longer than the longest word length.
<lang tcl>package require Tcl 8.5
|