This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
Shape the future of IBM!
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Search existing ideas
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updateson them if they matter to you. If you can't find what you are looking for,
Post your ideas
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Specific links you will want to bookmark for future use
Allow zero-based numbering / subscripts for arrays within RPG via compiler directive / ctl-opt
Over the past several releases, RPG has greatly enhanced its array capabilities.
Several "modern" programming languages such as C, Java, PHP & Python are indexed beginning with the zero subscript.
In allowing RPG to use zero-based numbering via a compiler (ctl-opt) directive, it will allow flexibility to both the programmer who knows languages such as RPG & COBOL - as well as those coming over from other languages, such as C, Java, PHP, Python, etc.
I'm proposing adding in a simple compiler directive (or ctl-opt) with the keyword ZERO-BASED or similar.
And since this will truly be a "modern" enhancement for RPG, if added as a "ctl-opt", only allow it to be specified as a "ctl-opt" - not as an H-spec.
This can end up being another feather in RPG's cap, showing that we have the flexibility of allowing a default base index of 1 or 0.
Do not place IBM confidential, company confidential, or personal information into any field.