× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In PHP the key can be either numeric or associative. RPG does not have
this feature because it requires more CPU than marketing is willing to sell.

True RPG doesn't have it as a single operation - although one could ague
that compile time and run time arrays provide similar load capability.  RPG
doesn't have dynamically sizable arrays and that can be useful and will
probably come at some point.  

RPG requires that you specifically use a lookup operation against a key
array to obtain the element number, that is then used for subsequent access.
This admittedly requires a little more code.  However, to relate the lack of
such features to horsepower is sheer bull excrement.  There is very little
horsepower required to run associative arrays.  

But I know this is a waste of breath - you'll simply change the argument as
usual.

Jon Paris
Partner400

www.Partner400.com 



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.