|
Like David, I'm learning a lot from these emails (just a lot moreslowly).
concern
A pointer is, as stated, just an address. But it's just the starting
address, right? Which, if I understand Bruce's example and David's
correctly, means that PgmA could pass PgmB an address to a parm. Butthis
pointer/address wouldn't have any clue how long that parm is, right?I.e.,
if PgmA intended for PgmB to use, say, ten bytes it would have to passthat
bit of trivia with the pointer. But, if PgmB decided to use twentybytes
starting at the passed address, it could. Or is the length of theaddress
space to be used inherent in the pointer itself?
Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
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.