|
I don't quite understand your question.
Are you saying:
If #TEXT is 55 characters and parm1(p) is 10, and is not blank, then you want to do something like:
#text = %trim(#text) + ', ' + %trim(parm1(p)); /* with some additional logic for when #text approaches 55 characters, etc */
By the way, you may want to consider dropping the Do loop and using a FOR loop.
for p = 1 to 100; parm1(p).... EndFor;
Rob Berendt
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.