This can be accomplished with a procedure which returns a varying length
string.

What I think would be neat would be the ability of the programmer to write
their own BIFs. The difference between a BIF and a procedure being that the
BIF has code which runs at compile time as well as execution time. During
compile time the BIF can evaluate the BIF arguments and adjust the
execution time code of the BIF. For example, a BIF that runs a REGEX could
contain additional features in the REGEX which allow the REGEX capture
group to be copied to RPG variables.

-Steve



On Wed, Jul 31, 2024 at 12:01 AM Javier Sanchez <
javiersanchezbarquero@xxxxxxxxx> wrote:

Team,

Honestly, I didn't want to go and look for the already posted proposals for
new TRs in RPG.

If this already exists and was rejected, just throw me a lot of rotten eggs
(LOL).

I am thinking of a new BIF: %SPACES(nSpaces)





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.