|
>For my purposes, I want to %trim any blanks. In >order to do so, I'm having to store the edited >date into an intermediate field, and then >%trim it You don't _have_ to use an intermediate field; %trim(%editw() works fine. >If you try to compile the attached sample, it fails >at line 7, with RNF7421 'Operands are not compatible >with this type of operator'. AFAIK, that should >not be the case. >5 C eval $dv = 'Date: ' + >6 C %trim( + >7 C %EditW(#date : ' / / ')) RPG IV doesn't use any "continuation" character, so the "+" at the end of line 6 is the killer here. By the way, I like your x-message-flag, although it startled me when I saw it. --buck
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.