[Oberon] FPGA - undefined pointer base

Tomas Kral thomas.kral at email.cz
Sat Sep 23 23:00:38 CEST 2017


Hi,

I apologise in case I have asked before, 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;

    Picture* = POINTER TO PictureDesc;
    PictureDesc* = RECORD
      width*, height*, depth*: INTEGER;
      wth: INTEGER;
      bitmap: Bitmaps.Bitmap;
      base: INTEGER;
      ct: ColorTable
    END;

I can resolve by declaring `ct' as `ColorTableDesc', but I am curious
what I do wrong?

Many thanks in advance. 

-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list