Hi, I am testing `Read/Write Bytes()' procedures. I wish to read in a structure, that I can write back to a file again. TYPE R1 = RECORD a, b, c, d: CHAR END; Buf = ARRAY max OF BYTE; VAR r1: R1; ... ReadBytes(R, SYSTEM.VAL(Buf, r1), SYSTEM.SIZE(R1)); How can I typecast r1:R1 to Buf? -- Tomas Kral <thomas.kral at email.cz>