Hi,
Why can't I overlay Array in Record. See the example under:
type
tSelect_LCD = record
LCDSelected : byte;
Reserved : byte;
end;
tPacket = Record
Cmd : word;
Len : word;
prevMsg : word;
Data : Array[0..255] of Byte;
end;
var
RecPacket : tPacket;
LCD [ @RecPacket.Data ] : tSelect_LCD;
Thank you,
Bostjan
Why can't I overlay Array in Record. See the example under:
Code
type
tSelect_LCD = record
LCDSelected : byte;
Reserved : byte;
end;
tPacket = Record
Cmd : word;
Len : word;
prevMsg : word;
Data : Array[0..255] of Byte;
end;
var
RecPacket : tPacket;
LCD [ @RecPacket.Data ] : tSelect_LCD;
Thank you,
Bostjan