|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Essai_List, seg_0544b9
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Text_Io;
with List_Generic;
with String_Map_Generic;
package body Essai_List is
procedure List is
package My_List is new List_Generic (Element => Positive);
A_List : My_List.List;
My_Iter : My_List.Iterator;
New_List : My_List.List;
Last_List : My_List.List;
--package My_Hash_Table is
-- new String_Map_Generic (Size => 100, Range_Type => My_List.List);
begin
A_List := My_List.Make (2, A_List);
A_List := My_List.Make (3, A_List);
A_List := My_List.Make (4, A_List);
A_List := My_List.Make (5, A_List);
A_List := My_List.Make (6, A_List);
Last_List := A_List;
My_List.Init (My_Iter, A_List);
while not (My_List.Done (My_Iter)) loop
if My_List.Value (My_Iter) /= 4 then
New_List := My_List.Make (My_List.Value (My_Iter), New_List);
else
Text_Io.Put_Line ("efface");
end if;
My_List.Next (My_Iter);
end loop;
A_List := New_List;
My_List.Free (Last_List);
My_List.Init (My_Iter, A_List);
while not (My_List.Done (My_Iter)) loop
Text_Io.Put_Line (Positive'Image (My_List.Value (My_Iter)));
My_List.Next (My_Iter);
end loop;
Text_Io.Put_Line (Positive'Image (My_List.First (A_List)));
end List;
end Essai_List;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=20 rec1=00 rec2=01 rec3=046
[0x01] rec0=12 rec1=00 rec2=02 rec3=001
tail 0x2154d0a5c87b68bd95444 0x42a00088462060003