What's new for RPG in 7.4 (and in 7.3 with PTFs)
First, I'll talk the most recent enhancements with PTFs for 7.3 and 7.4:
• %LIST and %RANGE built-in functions
• FOR-EACH opcode
• Work with the return value of a procedure while debugging
• And more
Then, I'll talk about a couple of enhancements that were for 7.4 only:
• Variable-dimension arrays, including a type of array that automatically grows as you assign new elements
• DIM(*CTDATA) let's you soft-code the dimension of an array with compile-time data
Then, I'll talk about some earlier PTF enhancements for 7.3 and 7.4, including the PTF enhancements for Spring 2020
• %TIMESTAMP enhancements
• %KDS allows a variable number of keys now
• "Overloaded" procedures - call several procedures using the same name for the call
• OPTIONS(*EXACT) for parameters - more control over what can be passed
• DATA-GEN - the reverse of DATA-INTO
• And more
Then, if we have time, I'll talk about some even earlier PTF enhancements for 7.2 and 7.3, that were "new" in 7.4
• DATA-INTO opcode - similar to XML-INTO, except that it works with any type of structured data, including JSON
• ON-EXIT opcode makes it easy to reliably clean-up when your procedure ends
• And more