|
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 - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Index_List, seg_04629e
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io, Index_List, Identifier, Complement_Identifier_Array, Exclusive_Generic_List; use Text_Io; procedure Test_Index_List is Ok : Boolean; List : Index_List.Object; begin Complement_Identifier_Array.Put (Identifier.From_String ("gaston")); Complement_Identifier_Array.Put (Identifier.From_String ("alfred")); Complement_Identifier_Array.Put (Identifier.From_String ("table")); Complement_Identifier_Array.Put (Identifier.From_String ("chaise")); Complement_Identifier_Array.Put (Identifier.From_String ("cuisine")); Put_Line ("show vide"); Index_List.Show (List); Index_List.Put (List, Complement_Identifier_Array.Index ("gaston"), Ok); if Ok then Put_Line ("l'element n'etait pas encore insere !"); else Put_Line ("L'element etait deja insere !"); end if; Index_List.Put (List, Complement_Identifier_Array.Index ("table"), Ok); if Ok then Put_Line ("l'element n'etait pas encore insere !"); else Put_Line ("L'element etait deja insere !"); end if; Index_List.Put (List, Complement_Identifier_Array.Index ("gaston"), Ok); if Ok then Put_Line ("l'element n'etait pas encore insere !"); else Put_Line ("L'element etait deja insere !"); end if; Index_List.Put (List, Complement_Identifier_Array.Index ("cuisine"), Ok); if Ok then Put_Line ("l'element n'etait pas encore insere !"); else Put_Line ("L'element etait deja insere !"); end if; Index_List.Show (List); Index_List.Init (List); while not Index_List.Done (List) loop Put_Line ("name : " & Complement_Identifier_Array.Image (Index_List.Value (List)) & " " & Index_List.Value (List)); Index_List.Next (List); end loop; end Test_Index_List;
nblk1=4 nid=3 hdr6=4 [0x00] rec0=1d rec1=00 rec2=01 rec3=030 [0x01] rec0=1f rec1=00 rec2=02 rec3=000 [0x02] rec0=0e rec1=00 rec2=02 rec3=000 [0x03] rec0=04 rec1=30 rec2=5d rec3=742 tail 0x21748a05c86503904e4e9 0x42a00088462060003 Free Block Chain: 0x3: 0000 00 04 03 fc 00 45 20 20 20 20 43 6f 6d 70 6c 65 ┆ E Comple┆ 0x4: 0000 00 00 00 19 80 16 6d 5f 53 74 72 69 6e 67 20 28 ┆ m_String (┆