|
I don't think you are quite getting what *NEXT does.
In your example, I assume you are wanting the carr array to overlay c1 through c12. But that is not what you told it to do. You told it to overlay the data structure starting immediately after the last subfield defined for the structure you are overlaying. So it created the array after c12 since it is also a subfield of PF1_t. Others have already shown you the correct way to do this, which is to create a group field that the c1 - c12 fields will overlay using next. Then overlay the array over the same group field.
The point here is that *NEXT does not overlay starting after the previous overlay *NEXT. It starts after the previous subfield.
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.