Implementing Linked Lists in RPG
January 5, 2011 Ted Holt
Note: The code accompanying this article is available for download here.
In Basing Pointer Variables in RPG: The Basics, I wrote about the fundamentals of using basing pointers, a concept I came to understand when I learned Pascal. In this article, I continue my discussion of the use of pointers by showing how to implement linked lists in RPG.
Before I start into the meat of the article, let me first give credit where credit is due. I had pondered the question of building linked lists in RPG for some time, but I had not devised a way