|
On Fri, 1 Apr 2005, Scott Klement wrote:
I've run into a problem implementing word wrap. When a word doesn't fit at the end of a field, I need to put it on the next field and pad with blanks. However, I need to distinguish between blanks I use for padding and those blanks the user entered.
TN5250 already keeps track of how many spaces are used for padding and how many the user entered. The spaces that the user typed will be set to actual spaces (x'40' in EBCDIC). The spaces that the user hasn't typed in that are just padding on the screen will be x'00'
James Rich
It's not the software that's free; it's you. - billyskank on Groklaw
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.