Original Post
Hey Folks,
Quick Problem...I''m having a problem nesting structures within other structures. Is this allowed? And if so, is there a certain way to access the data inside of the structures. I am doing something like this.
Then to access the elements within those structures I am trying something like this:
I just can''t seem to figure out if I''m doing something wrong. If you folks need me to post full source, please let me know.
Regards,
Mike
struct Square_Wave_One
{
struct Sound_Reg_4000
{
BYTE Yadda1,
Yadda2,
Yadda3;
};
};
Square_Wave_One.Sound_Reg_4000.Yadda1 = (Value & 0x0F);