To create a structure with two structures in it, you can use the following code:
main.m258 chars11 lines
This will create a structure "s" that contains two substructures "substruct1" and "substruct2". Each substructure contains the fields defined in "s1" and "s2" respectively.
You can access the fields of each substructure by using the following syntax:
main.m62 chars3 lines
This will get the values of the "field1" of the two substructures.
gistlibby LogSnag