×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Yep, I use those on a regular basis - "call backs". Right now I am building
a program that processes IFS files in a directory, and for each entry within
the folder I make a "call back" to a procedure pointer that points to a
procedure in the calling program. Call backs are very powerful in concept
because they allow you to take a more robust approach to application
development. Before I know about "call backs" I would have instead tried
to pass an array or use a PF as a go-between, but instead I can take more of
a streaming approach.

How are others using procedure pointers and call backs?


Aaron Bartell
http://mowyourlawn.com


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of vhamberg@xxxxxxxxxxx
Sent: Friday, October 19, 2007 5:09 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Objects and such

Maybe you know about using procedure pointers and assigning them to a
variable that is used on a CALLP, if I remember Jon's presentation right
from the RPG@DB2 summit - he has an example of the world's most expensive
pocket calculator - an iSeries. But this lets you have a single call
statement but using different procedures based on the arithmetic operation
you are processing at the time.



This thread ...

Follow-Ups:
Replies:

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

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.