|
I'm not entirely convinced that few programmers need to allocate memory. How often do we RPG programmers put hard limits in our programs, simply because using a dynamically sized structure is tricky?I contend that you have one of two situations: you can either live with hard limits or you can't. If you can, you pass an array. If you can't, you call repeatedly until you get an EOF indicator. Either pattern works in RPG splendidly.
Perhaps this is part of the reason we don't have as many tool libraries as are available in other languages, as lamented by Tom Liotta in the "RPG is Dead" thread.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.