Rob,

Duh!  I probably should have looked a little closer.

that's what I get for just glancing at code and assuming I knew what I was
looking at.

Thanks again.

Rick

Rob said: ---------
1.  The '*' is not in the field length.  It is in the field type.  'a' is
alphanumeric, 'p' is packed, '*' is a pointer.
2.  "based" means that the address of this field in memory starts at the
pointer location.  Thus $qzamt is stored in memory at the position set by
the pointer @qzamt.  The value of the pointer @qzamt is equal to the
address in memory of the field qzamt1, as set by the INZ(%addr... function.
An eval on one field will change the value of the other.

I used to be pointer phobic.  But once you get used to them they are quite
handy.  I especially like them in using list api's versus the QUSRTVUS api.



This thread ...


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.