|
I've just discovered (or perhaps too old to remember) the section in the RPGLE doc on %LOOKUP that says:
Sequenced arrays that are not in the correct sequence<http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/rzasd/sc09250802.htm#ToC_863>
I've been copying the RPG spec that defines a standard array that we use from a template which has DESCEND without realizing this.
Fortunately, our bread and butter comes from code that still uses the old LOOKUP in the operation column of a C spec which does not suffer from the effects of a binary search like %LOOKUP.
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.