Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type TMyType = packed record
- Var_1: Byte;
- Var_2: Byte;
- Var_N: Byte;
- end;
- Var aa: TMyType;
- vArr: TByte;
- begin
- vArr := [1, 2, 3];
- // Copy vArr content to "aa" like this
- aa := @vArr;
- // aa.Var_1 = 1;
- // aa.Var_2 = 2;
- // aa.Var_N = 3;
Add Comment
Please, Sign In to add comment