|
Yes, I probably should not have used the word "dynamic", since it has come to mean something specific when doing a "call". My apologies for that. However, in the example I posted, the address of the "ShowMsg" routine wasn't actually set until run time. Sure, the possible addresses that it could be set to were determined by what was available when the program was bound... but since the actual assignment to the pointer isn't done until run time, it could be arbitrarily switched between any of the possibilies that were coded in my program. Thats what I meant when I used the word "dynamic". On Wed, 6 Dec 2000, Peter Connell wrote: > It is clear that unless a program uses a service pgm then compiling and > binding essentially occur at the same time. The fact that a service pgm is > implemented through late binding, which occurs the time the pgm is > activated, might be construed as subtle but the point I make is that, at the > time the code is executed, all pointer references must have been previously > resolved, essentially by hard coding them. In this context the term dynamic > therefore has a subtle meaning. > > Peter > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.