| ??? 07/27/06 17:42 Read: times |
#121189 - Confused! Responding to: ???'s previous message |
I said:
I'm not entirely sure what you're saying here! And now I'm even less sure! I said:
1. since all your fields seem to be U8, instead of a structure, use a two-dimensional array, with symbolic constants (#define or enum) to access the individual fields of each sign; eg,
all_signs[sign_number][SER_NUM] Erik Malund said:
Not useful, it exist in two places at the sign (one) at the controller (many). Nope - don't get that; could you explain further? this would oblitterate the advantage of a fixed 256 size. Ehh??? When you define the array, you define the size! |
| Topic | Author | Date |
| fixed size struct? | 01/01/70 00:00 | |
| Not quite clear | 01/01/70 00:00 | |
| thx, but | 01/01/70 00:00 | |
| Confused! | 01/01/70 00:00 | |
| the original question is \"can you define a struct | 01/01/70 00:00 | |
| Possible in theory, but the code looks strange | 01/01/70 00:00 | |
| figured the dummy out myself but that is the road | 01/01/70 00:00 | |
| Doesn\'t have to look strange | 01/01/70 00:00 | |
| got it, thanks | 01/01/70 00:00 | |
| Aside - structure addressing | 01/01/70 00:00 | |
| which is the case in one of the instances | 01/01/70 00:00 | |
nameless struct member | 01/01/70 00:00 | |
| union of structs | 01/01/70 00:00 | |
| same as Andy | 01/01/70 00:00 | |
| Pascal | 01/01/70 00:00 |



