|
Is there a varying but maximum length possibility? In DDS there is the keyword CNTFLD that allows what you are asking. A 132-column green screen with 27 rows allows a lot of room (18 rows times 130 columns is well over a 2,000 characters field.) A COMMENT R B 1 2CNTFLD(130) A CHECK(LC) -----Original Message----- From: Klein Ron [mailto:ron.klein@brctsg.com] Sent: Monday, February 07, 2000 9:40 AM To: boothm@goddard.edu Subject: Text editiing Hi All, We have a program with which we edit a varying length field and when we place this field in the file we add a tilde at the end of each line that is displayed. On the screen we show this field as a 30 character field. When we load this field we add a tilde whenever the user hits enter on the screen or every 30 characters whichever is smaller. So in our file we would have something like this:This is the time for us~to fix this problem the in the r~ight way.~ We need to figure out a way for the text to shift on a blank space and move it to the next line. Does any one have a procedure or maybe a c runtime procedure or advise on how I should go about doing this. TIA Ron +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.