Jump to content

Doubly-linked list/Definition: Difference between revisions

m
Fixed lang tags.
m (omit TI-BASIC)
m (Fixed lang tags.)
Line 14:
{{works with|ALGOL 68G|Any - tested with release mk15-0.8b.fc9.i386}}
{{works with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release 1.8.8d.fc9.i386}}
<lang algol68>MODE DATA = STRING; # user defined data type #
<lang ada>
MODE DATA = STRING; # user defined data type #
MODE MNODE = STRUCT (
Line 127 ⟶ 126:
# sweep heap #
FI
)</lang ada>
)
</lang>
Output:
<pre>
Line 592 ⟶ 590:
 
=={{header|D}}==
<lang d>class LinkedList(T)
class LinkedList(T)
{
Node!(T) head, tail;
Line 698 ⟶ 695:
}
writeln;
}</lang>
}
</lang>
Output:
<pre>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.