Nested structure
Posted: Mon Nov 25, 2024 5:52 am
In C you are able to declare a structure union with intelligently defined widths, making byte alignment automatic, however I found no easy way to achieve this in PB unless I define the word pairs in their own named structure
Could we have this?
Enabling us to access each field with having to qualify the substructure.
Could we have this?
Code: Select all
Structure WordPair
StructureUnion
Structure
LoWord.w
HiWord.w
EndStructure
Long.l
EndStructureUnion
EndStructure