× 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.



Thanks for the reminder Barbara - I'd forgotten that I voted for that one.


On Apr 8, 2021, at 8:16 AM, Barbara Morris <bmorris@xxxxxxxxxx> wrote:

On 2021-04-07 6:30 p.m., Jon Paris wrote:
Simple answer - because they aren't designed to <grin>.
Personally I would have liked to see that but ... If they take an array what are they expected to do. Perhaps if you saw a %Max BIF for an array you might expect it to return the index of the max item - not its value. It would probably be more useful in cases such as DDS arrays.
I suggest that perhaps you write up an RFE for the functionality, post the number here and we can all jump in and vote for it.

There is already an RFE for this. Indeed, the current idea is that it should be a different built-in function that returns the index of the maximum or minimum element.

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=116540

--
Barbara

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.