× 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.



New paragraph? New record.

For a blank line I would try an underscore at the beginning of the line and
ona at the end. Do not know what the result would be.

With regards,
Carel Teijgeler

*********** REPLY SEPARATOR ***********

On 6-10-2009 at 14:44 Booth Martin wrote:

But what if one wants formatted text? like... a new paragraph? Or a
blank line? Or text centered in the field?

DeLong, Eric 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.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.