[Oberon] FPGA - Pointers to [named] records only
Tomas Kral
thomas.kral at email.cz
Wed Aug 1 23:43:08 CEST 2018
Hi,
Until recently sometime back in 2017, I got away with this, (which is
possibly not correct coding)
TYPE
(* Depth=1 only *)
ColorTable = POINTER TO RECORD
i: ARRAY 2 OF RECORD red, green, blue: BYTE END
END;
`ORP' is now less forgiving, as I needed to change the above to
TYPE
(* Depth=1 only *)
ColorTable = POINTER TO ColorTableDesc;
ColorTableDesc = RECORD
i: ARRAY 2 OF RECORD red, green, blue: BYTE END
END;
--
Tomas Kral <thomas.kral at email.cz>
More information about the Oberon
mailing list