Doubly-linked list/Definition: Difference between revisions

no edit summary
No edit summary
Line 1,495:
<pre>15 -> 14 -> 12
hello -> world</pre>
=={{header|Oberon-2}}==
<lang oberon2>
IMPORT Basic;
TYPE
Node* = POINTER TO NodeDesc;
NodeDesc* = (* ABSTRACT *) RECORD
value-: Basic.Boxed;
prev-,next-: Node;
END;
 
DLList* = POINTER TO DLListDesc;
DLListDesc* = RECORD
first-,last-: Node;
size-: INTEGER;
END;
</lang>
 
=={{header|Objeck}}==
Anonymous user