[Oberon] FPGA - undefined pointer base
August Karlstrom
fusionfile at gmail.com
Sun Sep 24 11:43:01 CEST 2017
On 2017-09-23 23:00, Tomas Kral wrote:
> I am getting `undefined pointer
> base' compilation error for these pointers.
>
> ColorTable = POINTER TO ColorTableDesc;
> ColorTableDesc = ARRAY 256 OF RECORD red, green, blue: BYTE END;
>
In Oberon, pointers can only point to records. You need something like
this instead:
ColorTable = POINTER TO RECORD
items: ARRAY 256 OF RECORD
red, green, blue: BYTE
END
END
-- August
More information about the Oberon
mailing list