Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats new in OS/400 Version 5 RPG IV?

IV OS rpg version
0
Posted

Whats new in OS/400 Version 5 RPG IV?

0

So much is new in RPG IV with OS/400 Version 5, that I wrote an article about it. Read my article about the enhancements to RPG IV in OS/400 Version 5. There are a few significant enhancements in RPG IV in OS/400 Version 4, Release 4. • The %CHAR built-in function has be fixed. It now functions like it was supposed to in the first place. You can wrap a numeric value in %CHAR and a nicely edited character form of the number is returned. The edited form includes the decimal, trimmed off leading blanks, and a negative sign. • The FOR loop provides a free-format version of the DO operation code. With the FOR operation, you can begin a loop operation and continue iterating through the loop until a variable equals a limit value. The syntax for the FOR operation is enhanced with the TO, BY and DOWNTO keywords. The TO operation indicators the upper limit for the looping, while the BY keyword identifies the increment value for the loop counter.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.