× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you're pasted the text to MS Word, then yes it deletes the leading blanks.
Is that what you were doing?

-Bob Cozzi
www.iSeriesTV.com
iPod your industry news instead of reading it.
Coming July 18, 2006
Ask your friends to tune into iSeriesTV.com


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On
Behalf Of Alan G. Campin
Sent: Friday, July 07, 2006 1:40 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: Nasty little problem


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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.