|
With WRDWRAP, simply type your text (without regard to line breaks).WRDWRAP.
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
I key some text on the first line on the screen and then press thespace
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?
As an Amazon Associate we earn from qualifying purchases.
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.