July 15, 2002
Pointers on pointers

Some Pointers on Using Pointers in RPG IV.

I have to say, I find it a bit bizarre that just as so many modern languages (Java, Python) were doing away with the concept of pointers (as opposed to references, i.e. pointers without the arithmetic), IBM were busy adding them to RPG.

You can have quality software, or you can have pointer arithmetic; but you cannot have both at the same time. - Bertrand Meyer, 1989

Having said that, there are things in RPG that you can only do using pointers, and some that are much more efficient using pointers, so their use cannot be ruled out altogether. And OS/400 won't let you fandango on core.

Posted to iSeries by Simon Brunning at July 15, 2002 03:55 PM
Comments
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?