|
David, Jon, Barbara: That's it! I used a v4r3 manual (because I was coding on a machine running v4r3) and it says this: D CEETSTA PR EXTPROC('CEETSTA') D Present 10I 0 D ArgNum 10I 0 CONST ... D HaveParm S 10I 0 whereas the v4r4 manual says this: D CEETSTA PR EXTPROC('CEETSTA') D Present 10I 0 D ArgNum 10I 0 CONST D Feedback 12A OPTIONS(*OMIT) ... D HaveParm S 10I 0 Sun of a gun! Phil --- David Morris <dmorris@plumcreek.com> wrote: > Jon, > > I believe PHil he said it didn't work. His > experience of having this scramble some > memory is consistent with my experience. The old > RPG manual example did not > pass the feedback code, many who followed that > example found out the hard way > that this API scrambled memory at unexpected > locations. > > David Morris > > >>> Jon.Paris@hal.it 02/27/01 07:46AM >>> > > >> No, it would take it with the VALUE keyword as > well. > > The compiler would pass it, but the API wouldn't > work - it is expecting a > parameter passed by reference i.e. a pointer will be > passed - having the > VALUE 2 passed will not work. > > +--- > | 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 > +--- __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ +--- | 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-2025 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.