× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Did you check the data in the file or wherever you stored it? WRDWRAP
formats the data on OUTPUT, not on INPUT. It may be stored correctly and
displayed oddly. Or stop the program in debug after reading the screen and
see what value the variable holds.
Or, stop using WRDWRAP. WRDWRAP does the formatting -- if you want no
formatting, don't use it.

Stu




On Tue, Oct 6, 2009 at 14:07, DeLong, Eric <EDeLong@xxxxxxxxxxxxxxx> wrote:

With WRDWRAP, simply type your text (without regard to line breaks).
The next time the screen is written, the wordwrap function pretties it
up....

Hth,
Eric DeLong

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert J. Mullis
Sent: Tuesday, September 29, 2009 12:22 PM
To: RPG programming on the IBM i / System i
Subject: WRDWRAP and Blank Lines

Pardon me if there is a simple solution to this, but I have only used
WRDWRAP a couple of times and the last time was 5+ years ago.

Scenario:

I have a field on a screen defined as 700A with CNTFLD(70) and WRDWRAP.
I key some text on the first line on the screen and then press the space
bar until the cursor reaches the beginning of the third 70 character
line. I key some more text and then save the keyed value to a file. I
come back into this screen to view what I just keyed and saved and the
second line (which I spaced through before) is gone and the text from
the third line is moved up to the second line.

Is there any way to have the text saved the way it was keyed and not
remove blank lines?
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.