|
You probably don't have all PTF's applied. Use parens around the right-side value and see if that fixes it.
WorkString += (cBlanks + %TrimR(InParmList.ParmList(x)));
-Bob Cozzi
Ok. Problem solved. Turned out it was not the RPG at all. It was the WDSC debugger. When it was displaying the blanks, it was compressing them for display if you copy the string and then paste to text, guess what, there they are. I guess it has to do with the font and GUI environment. I checked and they are using a Courier Font so who knows. CALL PGM(*LIBL/XVZ) PARM('My Sister Sam ' 'A Value ' '00000125.25')
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.