|
On 22/08/05, Bob Voltz <bvoltz@xxxxxxxxxxxxxxxxx> wrote: > I want to print a 50 character alpha field as two 25 character alpha fields. > I want to "word wrap", i.e.; only break at a space. > Any hints as to the best way to accomplish this? Hi Bob I wrote an RPG400 program to do this sort of task a long time back, and while I'm sure you can probably achieve the same result in a few lines of RPGIV, it works well enough that I still use it! There is a version of it in my open source utilities and you can get the program code from http://dbg400.net/cgi-bin/twiki/view/DBG400/RpgDBG040R3 Regards, Martin
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.