|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 528 (0x210)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Queue_Generic;
with Text_Io;
procedure Test_List is
package List is new Queue_Generic (Element => Natural);
The_List : List.Queue;
The_Iter : List.Iterator;
begin
List.Initialize (The_List);
List.Add (The_List, 2);
List.Init (The_Iter, The_List);
List.Add (The_List, 3);
List.Add (The_List, 4);
List.Add (The_List, 5);
while not (List.Done (The_Iter)) loop
Text_Io.Put_Line (Natural'Image (List.Value (The_Iter)));
List.Next (The_Iter);
end loop;
end Test_List;