Take a look for Jon, et al.'s, Redbook, Who Knew You Could Do That With RPG? - it has examples of qsort() and bsearch() - was written before the XML stuff was added to RPG but will likely help understand those better, too.

On 10/15/2012 4:29 PM, Jon Paris wrote:
Callback is used natively in RPG for XML-SAX and for XML-INTO when used with %handler. It is also used with the qsort() and bsearch() APIs which are quite commonly used from RPG.

That's just to quote four examples.


On 2012-10-15, at 5:19 PM, midrange-l-request@xxxxxxxxxxxx wrote:

Has anyone ever heard of a callback as it is related to the IBM i? ?I was asked to explain a callback during an interview and I'd never even heard of it. ? Can any of you explain to me what a callback is and how it is used? ?I tried google but didn't get a good explanation.
Jon Paris

www.partner400.com
www.SystemiDeveloper.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.