Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
I'm on v5r2 and can't do that. It seemed the alternative was to do a For loop to search for the element or to use C's bsearch. I chose to use bsearch. http://archive.midrange.com/rpg400-l/200411/msg00039.html This discussion pertains to MODS, but it has the bsearch functionality in it. Kurt Anderson Application Developer Highsmith Inc -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Andy Hautamaki Sent: Thursday, March 23, 2006 9:57 AM To: RPG400-L@xxxxxxxxxxxx Subject: %lookup on a array data structure element sure would be nice to havethat ability........ Unless I'm coding the %lookup wrong and I'm at V5R3, you can't do a %lookup on a data structure array element right? Something like DidIFindIt = %lookup('Are You in the array':ArrayDataStructure.HaveALookElement); If you can't sure would be nice to have that feature........ Wasn't there somewhere we could vote for enhancements to RPG? Thanks Andy
This mailing list archive is Copyright 1997-2026 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.