[Gambas-user] Text-Wrapping

Bruce adamnt42 at gmail.com
Wed Nov 11 16:16:42 CET 2020


Output from LikeWrap(File.load("JJ.txt", 46)
-----------------------------------------------------
Stately, plump Buck Mulligan came from the st-
airhead,bearing a bowl of lather on which a m-
irrorand a razor lay crossed. A yellow dressi-
nggown,ungirdled, was sustained gently behind-
him on the mild morning air. He held the bowl-
aloft and intoned:

— Introibo ad altare Dei.

Halted, he peered down the dark winding stair-
sand called out coarsely:

— Come up, Kinch! Come up, you fearful jesuit!

Solemnly he came forward and mounted the roun-
dgunrest. He faced about and blessed gravely
thrice the tower, the surrounding land and th-
eawaking mountains. Then, catching sight of S-
tephenDedalus, he bent towards him and made r-
apidcrosses in the air, gurgling in his throa-
tand shaking his head. Stephen Dedalus, displ-
easedand sleepy, leaned his arms on the top o-
fthe staircase and looked coldly at the shaki-
nggurgling face that blessed him, equine in i-
tslength, and at the light untonsured hair, g-
rainedand hued like pale oak.
Buck Mulligan peeped an instant under the mir-
rorand then covered the bowl smartly.
— Back to barracks! he said sternly.

--------------------------------------------------------
1) additional blank line at the end of the output string.
2) Generally, very brutal. hyphenation is at its' very simplest level.
3) Bug! If a word ia hyphenated the space between its' second part and 
the following word is lost.
4) Bug! The original iniiial spaces are lost

bruce




More information about the User mailing list