Doubly-linked list/Element insertion: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Add referenced pieces from other tasks to make runnable example) |
m (→{{header|Ada}}) |
||
Line 21: | Line 21: | ||
<lang ada>procedure Make_List is |
<lang ada>procedure Make_List is |
||
A, B, C : Link_Access; |
|||
begin |
begin |
||
A := new Link; |
A := new Link; |
||
Line 54: | Line 54: | ||
The_List.Iterate(Print'access); |
The_List.Iterate(Print'access); |
||
end List_Insertion;</lang> |
end List_Insertion;</lang> |
||
=={{header|ALGOL 68}}== |
=={{header|ALGOL 68}}== |
||
{{works with|ALGOL 68|Revision 1 - no extensions to language used.}} |
{{works with|ALGOL 68|Revision 1 - no extensions to language used.}} |