I would like to know how do I declare a record, that has some fixed values. I need to send data using this pattern:
Byte($FF)-Byte(0..250)-Byte(0..250). I am using
record for that and I would like to have the first value of it constant, so that it can't be messed up.
TPacket = record InitByte: byte; // =255, constant FirstVal, SecondVal: byte; end;