Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Re: Mine is Bet...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 758 of 861
Post > Topic >>

Re: Mine is Better Than mline()

by "Fernando D. Bozzo" <fdbozzo@[EMAIL PROTECTED] > Apr 25, 2007 at 02:55 PM

I think that MLINE() purpose is not wordwrapping, it is just to obtain
the lines, like ALINES()

There are lots of examples that work fine with MLINE(), if I need
wordwrapping I don't even think using it.

---



On 21 abr, 13:01, "Olaf Doschke" <olaf.dosc...@[EMAIL PROTECTED]
>
wrote:
> 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=1 to Memlines(mMemo)
> ? MLINE(mMemo,i)
> endfor i
>
> leads to:
>    This is another
>  contrived
> example, but then,
>  aren't they all?
>
>    Here is yet
> another paragraph,
>  indented with 3
> spaces.
>
> What's wanted is:
>
>    This is another
> contrived
> example, but then,
> aren't they all?
>
>    Here is yet
> another paragraph,
> indented with 3
> 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
> 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.
 




 6 Posts in Topic:
Mine is Better Than mline()
Gene Wirchenko <genew@  2007-04-18 20:27:21 
Re: Mine is Better Than mline()
"Olaf Doschke"   2007-04-19 07:58:28 
Re: Mine is Better Than mline()
Gene Wirchenko <genew@  2007-04-19 09:51:51 
Re: Mine is Better Than mline()
Josh Assing <XjoshX@[E  2007-04-20 16:04:48 
Re: Mine is Better Than mline()
"Olaf Doschke"   2007-04-21 13:01:06 
Re: Mine is Better Than mline()
"Fernando D. Bozzo&q  2007-04-25 14:55:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 13:23:04 CST 2008.