This is a multi-part message in MIME format.
------=_NextPart_000_003E_01C78415.1FD45FE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Josh,
well...
CREATE CURSOR curMemo (mMemo M)
INSERT INTO curMemo VALUES ("This is a contrived example, but then, =
aren't they all?")
SET MEMOWIDTH TO 19
? MLINE(mMemo,1)
? MLINE(mMemo,2)
? MLINE(mMemo,3)
What Gene says is correct. You get the leading space.
If you ltrim you will also trim wanted leading space, eg:
Text To lcText noshow
This is another contrived example, but then, aren't they all?
Here is yet another paragraph, indented with 3 spaces.
Endtext
CREATE CURSOR curMemo (mMemo M)
INSERT INTO curMemo VALUES (lcText)
SET MEMOWIDTH TO 18
for i=3D1 to Memlines(mMemo)
? MLINE(mMemo,i)
endfor i
leads to:
This is another
contrived=20
example, but then,
aren't they all?
Here is yet=20
another paragraph,
indented with 3=20
spaces.
What's wanted is:
This is another
contrived=20
example, but then,
aren't they all?
Here is yet=20
another paragraph,
indented with 3=20
spaces.
But even that looks bad. Paragraph width is of course
much too small to make a readable text. Even better
would be hyphenation and blocktext. In the end it's a
word processor task to come up with something like
this:
This is another con-
trived example, but=20
then, aren't they all?
Here is yet another
paragraph, indented
with 3 spaces.
I'd still go with word automation for this task.
It can hyphanate word, have blocktext by increasing
spacing between words *and* increasing spacing
between letters, which would work even better for
example on the second lines of both paragraphs.
Bye, Olaf.
------=_NextPart_000_003E_01C78415.1FD45FE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16397" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3D"Courier New" size=3D2>Hi Josh,</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>well...</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>CREATE CURSOR curMemo (mMemo =
M)<BR>INSERT=20
INTO curMemo VALUES ("This is a contrived example, but then, aren't they =
all?")<BR>SET MEMOWIDTH TO 19<BR>? MLINE(mMemo,1)<BR>? =
MLINE(mMemo,2)<BR>?=20
MLINE(mMemo,3)<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>What Gene says is correct. You =
get the=20
leading space.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>If you ltrim you will also trim =
wanted=20
leading space, eg:</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Text To lcText =
noshow<BR> This=20
is another contrived example, but then, aren't they =
all?<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2> Here is yet =
another paragraph,=20
indented with 3 spaces.<BR>Endtext<BR>CREATE CURSOR curMemo (mMemo =
M)<BR>INSERT=20
INTO curMemo VALUES (lcText)<BR>SET MEMOWIDTH TO 18<BR>for i=3D1 to=20
Memlines(mMemo)<BR>? MLINE(mMemo,i)<BR>endfor i<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>leads to:</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2> This is=20
another<BR> contrived <BR>example, but then,<BR> aren't they=20
all?<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2> Here is yet =
<BR>another=20
paragraph,<BR> indented with 3 <BR>spaces.<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>What's wanted is:</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2> This is =
another<BR>contrived=20
<BR>example, but then,<BR>aren't they all?<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2> Here is yet =
<BR>another=20
paragraph,<BR>indented with 3 <BR>spaces.<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>But even that looks bad. =
Paragraph width is=20
of course</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>much too small to make a =
readable text.=20
Even better</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>would be hyphenation and =
blocktext. In the=20
end it's a</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>word processor task to come up =
with=20
something like</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>this:</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2> =
This is another=20
con-<BR>trived example, but </FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>then, aren't they =
all?</FONT></DIV>
<DIV><BR><FONT face=3D"Courier New" size=3D2> Here is =
yet=20
another</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>paragraph, =20
indented</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>with 3 spaces.<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>I'd still go with word =
</FONT><FONT=20
face=3D"Courier New" size=3D2>automation for this task.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>It can hyphanate word, have =
blocktext by=20
increasing</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>spacing between words *and* =
increasing=20
spacing</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>between letters, which would =
work even=20
better for</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>example on the second lines of =
both=20
paragraphs.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Bye, =
Olaf.</FONT></DIV></BODY></HTML>
------=_NextPart_000_003E_01C78415.1FD45FE0--


|