Skip to content

B.2. Recursive Structures

Julio edited this page Mar 10, 2022 · 1 revision
type Cell;  
   -- Partial declaration

type Cell_Access is access all Cell;
   -- Access to the abstract Cell

type Cell is record
   -- Full declaration
   Next       : Cell_Access;
   Some_Value : Integer;
   end record;
  
Clone this wiki locally